기술 자료

Unity Engine

Unity Engine

NativeKeyValueArrays(int, AllocatorHandle, NativeArrayOptions)

Initializes and returns an instance of NativeKeyValueArrays.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Constructor
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public NativeKeyValueArrays(int length, AllocatorManager.AllocatorHandle allocator, NativeArrayOptions options)

Parameters

length

The number of keys-value pairs.

The allocator to use.

Whether newly allocated bytes should be zeroed out.