NativeHashSet<T>
struct in Unity.Collections · Unity.Collections
Not in Unity's public API, or in an assembly the coverage doesn't count.
In Tassix
An unordered set in native memory (a hash map without values).
Constructors 1
NativeHashSet(int initialCapacity, AllocatorManager.AllocatorHandle allocator)Properties 4
int Capacity { get; set; }readonly int Count { get; }readonly bool IsCreated { get; }readonly bool IsEmpty { get; }Methods 9
bool Add(T item)ReadOnly AsReadOnly()void Clear()bool Contains(T item)Enumerator GetEnumerator()bool Remove(T item)NativeArray<T> ToNativeArray(AllocatorManager.AllocatorHandle allocator)void TrimExcess()