Class NodeHierarchyPart
This class represent the node hierarchy asset part.
Namespace: Evergine.Framework.Assets.AssetParts
Assembly: Evergine.Framework.dll
Syntax
public class NodeHierarchyPart : AssetPart
Properties
LOD
Gets or sets the LOD groups.
Declaration
public LODContent[] LOD { get; set; }
Property Value
Type | Description |
---|---|
LODContent[] |
Nodes
Gets or sets the nodes of this model.
Declaration
public List<NodeInfo> Nodes { get; set; }
Property Value
Type | Description |
---|---|
List<NodeInfo> |
RootNodes
Gets or sets the root node indices.
Declaration
public int[] RootNodes { get; set; }
Property Value
Type | Description |
---|---|
int[] |
Methods
Read(BinaryReader)
Read this asset part.
Declaration
public static NodeHierarchyPart Read(BinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
BinaryReader | reader | The binary reader. |
Returns
Type | Description |
---|---|
NodeHierarchyPart | The loaded asset part. |
Write(BinaryWriter)
Writes the sub asset.
Declaration
public override void Write(BinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
BinaryWriter | writer | The stream. |