Name | Description | |
---|---|---|
ToDegrees | The multiplier for conversion from radians to degrees. | |
ToRadians | The multiplier for conversion from degrees to radians. | |
ZeroTolerance | The value for which all absolute numbers smaller than are considered equal to zero. |
The following tables list the members exposed by DXUtil.
Name | Description | |
---|---|---|
ToDegrees | The multiplier for conversion from radians to degrees. | |
ToRadians | The multiplier for conversion from degrees to radians. | |
ZeroTolerance | The value for which all absolute numbers smaller than are considered equal to zero. |
Name | Description | |
---|---|---|
AllocateClearedMemory | Allocate an aligned memory buffer and clear it with a specified value (0 by default). | |
AllocateMemory | Allocate an aligned memory buffer. | |
Any<T> | Test if there is an element in this enumeration. | |
Array<T> | Creates an Array of count elements with the given value. | |
BuildPropertyGetter<T> | Builds a fast property getter from a type and a property info. | |
BuildPropertySetter<T> | Builds a fast property setter from a type and a property info. | |
Clamp | Overloaded. Clamps the specified value. | |
ClearMemory | Clears the memory. | |
Compare | Compares two collection, element by elements. | |
CompareMemory | Compares two block of memory. | |
ConvertToBoolArray | Converts Bool array to bool array. | |
CopyMemory | Native memcpy. | |
Dispose<T> | Safely dispose a referencem if not null, and set it to null after dispose. | |
Distinct<TSource> | Selects distinct elements from an enumeration. | |
FreeDisposedShadowPointers | Releases native pointers to already disposed shadow objects. | |
FreeMemory | Allocate an aligned memory buffer. | |
GetCustomAttribute<T> | Gets the custom attribute. | |
GetCustomAttributes<T> | Gets the custom attributes. | |
GetGuidFromType | Gets the System.Guid from a type. | |
IsAssignableFrom | Determines whether fromType can be assigned to toType. | |
IsEnum | Determines whether the specified type to test is an enum. | |
IsOne | Determines whether the specified value is close to one (1.0f). | |
IsValueType | Determines whether the specified type to test is a value type. | |
IsZero | Determines whether the specified value is close to zero (0.0f). | |
Join | String helper join method to display an enumrable of object as a single string. | |
Lerp | Overloaded. Interpolates between two values using a linear function by a given amount. | |
NearEqual | Checks if a and b are almost equals, taking into account the magnitude of floating point numbers. See Remarks. See remarks. | |
Pin | Overloaded. Pins the specified source and call an action with the pinned pointer. | |
PtrToStringUni | Converts a pointer to a null-terminating string up to maxLength characters to a .Net string. | |
Read | Overloaded. Reads the specified T data from a memory location. | |
ReadAndPosition<T> | Reads the specified T data from a memory location. | |
ReadOut<T> | Reads the specified T data from a memory location. | |
ReadStream | Read stream to a byte[] buffer. | |
SelectMany<TSource,TResult> | Select elements from an enumeration. | |
SizeOf | Overloaded. Return the sizeof a struct from a CLR. Equivalent to sizeof operator but works on generics too. | |
Sleep | Suspends the current thread. | |
StringToHGlobalAnsi | Copies the contents of a managed String into unmanaged memory, converting into ANSI format as it copies. | |
StringToHGlobalUni | Copies the contents of a managed String into unmanaged memory. | |
ToArray<T> | Transforms an System.Collections.Generic.IEnumerable`1 to an array of T. | |
ToByteArray<T> | Converts a structured array to an equivalent byte array. | |
WithinEpsilon | Checks if a - b are almost equals within a float epsilon. | |
Write | Overloaded. Writes the specified T data to a memory location. | |
WriteAndPosition<T> | Writes the specified T data to a memory location. |