HierarchyNodeMapUnmanaged<T0>

struct in Unity.Hierarchy

/

Implemented in:UnityEngine.HierarchyCoreModule

Description

Represents a collection of HierarchyNode and values of type T with O(1) access time.

Properties

Capacity The number of elements that can be contained in the HierarchyNodeMapUnmanaged_1 without resizing.
Count The number of elements contained in the HierarchyNodeMapUnmanaged_1.
IsCreated Whether or not this object is valid and uses memory.
this[HierarchyNode] Gets or sets the value associated with the specified HierarchyNode.

Constructors

HierarchyNodeMapUnmanaged_1 Constructs a new HierarchyNodeMapUnmanaged_1.

Public Methods

Add Adds the specified HierarchyNode and value to the HierarchyNodeMapUnmanaged_1.
AddNoResize Adds the specified HierarchyNode and value to the HierarchyNodeMapUnmanaged_1 without increasing capacity.
Clear Removes all HierarchyNode and values from the HierarchyNodeMapUnmanaged_1.
ContainsKey Determine whether or not the HierarchyNodeMapUnmanaged_1 contains the specified HierarchyNode.
Dispose Dispose this object and release its memory.
Remove Removes the value with the specified HierarchyNode from the HierarchyNodeMapUnmanaged_1.
Reserve Reserve enough memory to contain the specified number of elements.
TryAdd Attempts to add the specified HierarchyNode and value to the HierarchyNodeMapUnmanaged_1.
TryAddNoResize Attempts to add the specified HierarchyNode and value to the HierarchyNodeMapUnmanaged_1 without increasing capacity.
TryGetValue Gets the value associated with the specified HierarchyNode.

Did you find this page useful? Please give it a rating: