ドキュメント

Unity Engine

Unity Engine

GetValueArray(AllocatorHandle)

Returns an array with a copy of all the values (in no particular order).
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public NativeArray<TValue> GetValueArray(AllocatorManager.AllocatorHandle allocator)

Parameters

The allocator to use.

Returns

Type

Description

NativeArray<T>An array with a copy of all the values (in no particular order).

Remarks

The values are not deduplicated. If you sort the returned array, you can use NativeParallelHashMapExtensions.Unique to remove duplicate values.