Class NodeInfo
The node content.
Namespace: Evergine.AssetSources.Nodes
Assembly: Evergine.Framework.dll
Syntax
public class NodeInfo
Constructors
NodeInfo()
Initializes a new instance of the NodeInfo class.
Declaration
public NodeInfo()
Fields
ChildIndices
Gets or sets the children.
Declaration
public int[] ChildIndices
Field Value
Type | Description |
---|---|
int[] |
Mesh
Gets or sets the mesh content index.
Declaration
public int Mesh
Field Value
Type | Description |
---|---|
int |
Name
Gets or sets the name.
Declaration
public string Name
Field Value
Type | Description |
---|---|
string | The name. |
Orientation
The orientation.
Declaration
public Quaternion Orientation
Field Value
Type | Description |
---|---|
Quaternion |
Parent
The node parent.
Declaration
public NodeInfo Parent
Field Value
Type | Description |
---|---|
NodeInfo |
Scale
The scale.
Declaration
public Vector3 Scale
Field Value
Type | Description |
---|---|
Vector3 |
Skin
Gets or sets the skin index.
Declaration
public int Skin
Field Value
Type | Description |
---|---|
int |
Translation
The position.
Declaration
public Vector3 Translation
Field Value
Type | Description |
---|---|
Vector3 |
Properties
AbsoluteTransform
Gets the absolute transform matrix.
Declaration
public Matrix4x4 AbsoluteTransform { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
MorphTargetWeights
Gets or sets the default morph target weights for this node.
Declaration
public float[] MorphTargetWeights { get; set; }
Property Value
Type | Description |
---|---|
float[] |
NodePath
Gets the node path of this node.
Declaration
public string NodePath { get; }
Property Value
Type | Description |
---|---|
string |
Transform
Gets the transform matrix.
Declaration
public Matrix4x4 Transform { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
Methods
Read(BinaryReader)
Read Node tree.
Declaration
public static NodeInfo Read(BinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
BinaryReader | reader | The binary reader. |
Returns
Type | Description |
---|---|
NodeInfo | The root node. |
ToString()
To string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | the string. |
Overrides
Write(BinaryWriter)
Write the node hierarchy in the stream.
Declaration
public void Write(BinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
BinaryWriter | writer | The binary writer. |