HierarchyFlattenedNode
Represents a flattened hierarchy node.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Struct
- Namespace: Unity.Hierarchy
- Assembly: UnityEngine.HierarchyCoreModule
- Implements: IEquatable<HierarchyFlattenedNode>
public readonly struct HierarchyFlattenedNode : IEquatable<HierarchyFlattenedNode>
Constructors
Constructor | Description |
|---|---|
| HierarchyFlattenedNode() | Creates a flattened node. |
Properties
Property | Description |
|---|---|
| ChildIndex | The index of the node in its parent's children list. |
| ChildrenCount | The number of children nodes that the node has. |
| Depth | The depth of the node. |
| NextSiblingOffset | The offset of the next sibling of the node. |
| Node | The hierarchy node referenced. |
| ParentOffset | The offset of the parent of the node. |
| Type | The type of the hierarchy node. |
Static Properties
Property | Description |
|---|---|
| Null | Represents a flattened hierarchy node that is null or invalid. |