UnmanagedArrayExtensions Class
Namespace: Stride.PhysicsAssembly: Stride.Physics.dll
System.Object →
UnmanagedArrayExtensions
Derived from UnmanagedArrayExtensions:
public static class UnmanagedArrayExtensions
Name | Description | |
---|---|---|
Methods | ||
Fill<T>(UnmanagedArray<T>, T, Int32, Int32) | Fill the array with specific value. |
Methods
Fill<T>(UnmanagedArray<T>, T, Int32, Int32)
Fill the array with specific value.
public static void Fill<T>(this UnmanagedArray<T> unmanagedArray, T value, int index, int fillLength)
where T : struct
Parameters
Type | Name | Description |
---|---|---|
UnmanagedArray<T> | unmanagedArray | The destination to fill. |
T | value | The value used to fill. |
System.Int32 | index | The start index of the destination to fill. |
System.Int32 | fillLength | The filling length. |
Type Parameters
Name | Description |
---|---|
T | The type param of UnmanagedArray |