Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


HierarchyFlattenedNode

Represents a flattened hierarchy node.
Read time 1 minuteLast updated 10 days ago

Definition

public readonly struct HierarchyFlattenedNode : IEquatable<HierarchyFlattenedNode>

Constructors

Constructor

Description

HierarchyFlattenedNode()Creates a flattened node.

Properties

Property

Description

ChildIndexThe index of the node in its parent's children list.
ChildrenCountThe number of children nodes that the node has.
DepthThe depth of the node.
NextSiblingOffsetThe offset of the next sibling of the node.
NodeThe hierarchy node referenced.
ParentOffsetThe offset of the parent of the node.
TypeThe type of the hierarchy node.

Static Properties

Property

Description

NullRepresents a flattened hierarchy node that is null or invalid.