HierarchyFlattenedNode
Represents a flattened hierarchy node.
Read time 1 minuteLast updated a month 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 |
|---|---|
| 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. |