FMUtilities.

AllocatePersistentUninitialized<T>(NativeArray<T>, int) Method

Summary

Allocates an `array` using Unity.Collections.Allocator.Persistent and Unity.Collections.NativeArrayOptions.UninitializedMemory.
Assembly
FlexiMotion.dll
Namespace
FlexiMotion
Containing Type
FMUtilities

Syntax

public static void AllocatePersistentUninitialized<T>(out NativeArray<T> array, int length) 
    where T : struct

Type Parameters

Name Description
T

Parameters

Name Type Description
array NativeArray<T>
length int

Return Value

Type Description
void