기술 자료

Unity Engine

Unity Engine

GetKeyValueArrays(AllocatorHandle)

Returns a NativeKeyValueArrays with a copy of all this hash map's keys and values.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public NativeKeyValueArrays<TKey, TValue> GetKeyValueArrays(AllocatorManager.AllocatorHandle allocator)

Parameters

The allocator to use.

Returns

Type

Description

NativeKeyValueArrays<T, T>A NativeKeyValueArrays with a copy of all this hash map's keys and values.

Remarks

The key-value pairs are copied in no particular order. For all
i
,
Values[i]
will be the value associated with
Keys[i]
.