Class ModelInfoPart
This class represents an asset part that contains the Model Info.
Namespace: Evergine.Framework.Assets.AssetParts
Assembly: Evergine.Framework.dll
Syntax
public class ModelInfoPart : AssetPart
Fields
BufferViews
Gets the buffer views.
Declaration
public List<BufferViewModel> BufferViews
Field Value
Type | Description |
---|---|
List<BufferViewModel> |
Properties
AnimationTracks
Gets or sets the source animation tracks.
Declaration
public List<AnimationClipModel> AnimationTracks { get; set; }
Property Value
Type | Description |
---|---|
List<AnimationClipModel> |
EmbeddedResources
Gets or sets the embedded texture folders.
Declaration
public List<string> EmbeddedResources { get; set; }
Property Value
Type | Description |
---|---|
List<string> |
Materials
Gets or sets the materials.
Declaration
public List<(string, Guid)> Materials { get; set; }
Property Value
Type | Description |
---|---|
List<(string, Guid)> |
Nodes
Gets or sets the nodes of this model.
Declaration
public List<string> Nodes { get; set; }
Property Value
Type | Description |
---|---|
List<string> |
Methods
Read(BinaryReader)
Reads the model info part.
Declaration
public static ModelInfoPart Read(BinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
BinaryReader | reader | The binary reader. |
Returns
Type | Description |
---|---|
ModelInfoPart | The model info part. |
Write(BinaryWriter)
Writes the sub-asset.
Declaration
public override void Write(BinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
BinaryWriter | writer | The stream. |