ドキュメント

Unity Engine

Unity Engine

NativeParallelHashSet(int, AllocatorHandle)

Initializes and returns an instance of NativeParallelHashSet.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Parameters

capacity

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

The allocator to use.