Table of Contents

Class UnmanagedArrayExtensions

Namespace
Stride.Physics
Assembly
Stride.Physics.dll
public static class UnmanagedArrayExtensions
Inheritance
UnmanagedArrayExtensions

Methods

Fill<T>(UnmanagedArray<T>, T, int, int)

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

unmanagedArray UnmanagedArray<T>

The destination to fill.

value T

The value used to fill.

index int

The start index of the destination to fill.

fillLength int

The filling length.

Type Parameters

T

The type param of UnmanagedArray