Class SkinPart
Class that represents model skinning mesh information.
Namespace: Evergine.Framework.Assets.AssetParts
Assembly: Evergine.Framework.dll
Syntax
public class SkinPart : AssetPart
Fields
InverseBindPoses
The array of inverse binding pose matrices.
Declaration
public AccessorModel InverseBindPoses
Field Value
Type | Description |
---|---|
AccessorModel |
Name
The name of the skin.
Declaration
public string Name
Field Value
Type | Description |
---|---|
string |
Nodes
The skeletal nodes.
Declaration
public int[] Nodes
Field Value
Type | Description |
---|---|
int[] |
RootJoint
The root joint.
Declaration
public int RootJoint
Field Value
Type | Description |
---|---|
int |
Methods
Read(BinaryReader)
Reads this asset part.
Declaration
public static SkinPart Read(BinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
BinaryReader | reader | The binary reader. |
Returns
Type | Description |
---|---|
SkinPart | 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. |