NativeBitArray(int, AllocatorHandle, NativeArrayOptions)
Initializes and returns an instance of NativeBitArray.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Constructor
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public NativeBitArray(int numBits, AllocatorManager.AllocatorHandle allocator, NativeArrayOptions options = NativeArrayOptions.ClearMemory)
Parameters
The number of bits.
The allocator to use.
Whether newly allocated bytes should be zeroed out.