# HierarchyFlattenedNode

> Represents a flattened hierarchy node.

## Definition

* **Type:** Struct
* **Namespace:** [Unity.Hierarchy](/engine/6000.5/script-reference/unity/hierarchy.md)
* **Assembly:** UnityEngine.HierarchyCoreModule
* **Implements:** [IEquatable\<HierarchyFlattenedNode>](https://learn.microsoft.com/dotnet/api/system.iequatable-1)

```csharp
public readonly struct HierarchyFlattenedNode : IEquatable<HierarchyFlattenedNode>
```

## Constructors

| Constructor                                                                                                | Description               |
| ---------------------------------------------------------------------------------------------------------- | ------------------------- |
| [HierarchyFlattenedNode()](/engine/6000.5/script-reference/unity/hierarchy/hierarchyflattenednode/ctor.md) | Creates a flattened node. |

## Properties

| Property                                                                                                         | Description                                          |
| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
| [ChildIndex](/engine/6000.5/script-reference/unity/hierarchy/hierarchyflattenednode/childindex.md)               | The index of the node in its parent's children list. |
| [ChildrenCount](/engine/6000.5/script-reference/unity/hierarchy/hierarchyflattenednode/childrencount.md)         | The number of children nodes that the node has.      |
| [Depth](/engine/6000.5/script-reference/unity/hierarchy/hierarchyflattenednode/depth.md)                         | The depth of the node.                               |
| [NextSiblingOffset](/engine/6000.5/script-reference/unity/hierarchy/hierarchyflattenednode/nextsiblingoffset.md) | The offset of the next sibling of the node.          |
| [Node](/engine/6000.5/script-reference/unity/hierarchy/hierarchyflattenednode/node.md)                           | The hierarchy node referenced.                       |
| [ParentOffset](/engine/6000.5/script-reference/unity/hierarchy/hierarchyflattenednode/parentoffset.md)           | The offset of the parent of the node.                |
| [Type](/engine/6000.5/script-reference/unity/hierarchy/hierarchyflattenednode/type.md)                           | The type of the hierarchy node.                      |

## Static Properties

| Property                                                                               | Description                                                    |
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------- |
| [Null](/engine/6000.5/script-reference/unity/hierarchy/hierarchyflattenednode/null.md) | Represents a flattened hierarchy node that is null or invalid. |
