기술 자료

Unity Engine

Unity Engine

NativeHashSet(int, AllocatorHandle)

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

Definition

  • Type: Constructor
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public NativeHashSet(int initialCapacity, AllocatorManager.AllocatorHandle allocator)

Parameters

initialCapacity

The number of values that should fit in the initial allocation.

The allocator to use.