Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


HierarchyFlattenedNode

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

Definition

public readonly struct HierarchyFlattenedNode : IEquatable<HierarchyFlattenedNode>

Constructors

Constructor

Description

HierarchyFlattenedNode()Creates a flattened node.

Properties

Property

Description

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.