Scripting API

NativeHashMap<TKey, TValue>.ReadOnly

struct in Unity.Collections · Unity.Collections

Not in Unity's public API, or in an assembly the coverage doesn't count.

Properties 5

readonly int Capacity { get; }
readonly int Count { get; }
readonly bool IsCreated { get; }
readonly bool IsEmpty { get; }
readonly TValue this[TKey key] { get; }

Methods 6

readonly bool ContainsKey(TKey key)
readonly Enumerator GetEnumerator()
readonly NativeArray<TKey> GetKeyArray(AllocatorManager.AllocatorHandle allocator)
readonly NativeKeyValueArrays<TKey, TValue> GetKeyValueArrays(AllocatorManager.AllocatorHandle allocator)
readonly NativeArray<TValue> GetValueArray(AllocatorManager.AllocatorHandle allocator)
readonly bool TryGetValue(TKey key, out TValue item)