Version: Unity 6.7 Beta (6000.7)
LanguageEnglish
  • C#

NativeParallelHashMapExtensions.GetUniqueKeyArray

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public static ValueTuple<NativeArray<TKey>,int> GetUniqueKeyArray(UnsafeParallelMultiHashMap<TKey, TValue> container, AllocatorHandle allocator);

Parameters

Parameter Description
container The multi hash map.
allocator The allocator to use.

Returns

ValueTuple<NativeArray<TKey>,int> An array populated with the unique keys from this multi hash map.

Description

Returns an array populated with the unique keys from this multi hash map.


Declaration

public static ValueTuple<NativeArray<TKey>,int> GetUniqueKeyArray(NativeParallelMultiHashMap<TKey, TValue> container, AllocatorHandle allocator);

Parameters

Parameter Description
container The multi hash map.
allocator The allocator to use.

Returns

ValueTuple<NativeArray<TKey>,int> An array populated with the unique keys from this multi hash map.

Description

Returns an array populated with the unique keys from this multi hash map.