Class ModelInfoPart
This class represent an asset part that contains the Model Info.
Inherited Members
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<Buffer |
Properties
AnimationTracks
Gets or sets the source animation tracks.
Declaration
public List<AnimationClipModel> AnimationTracks { get; set; }
Property Value
Type | Description |
---|---|
List<Animation |
EmbeddedResources
Gets or sets the embedded texture folders.
Declaration
public List<string> EmbeddedResources { get; set; }
Property Value
Materials
Gets or sets the materials.
Declaration
public List<(string, Guid)> Materials { get; set; }
Property Value
Nodes
Gets or sets the nodes of this model.
Declaration
public List<string> Nodes { get; set; }
Property Value
Methods
Read(BinaryReader)
Read the model info part.
Declaration
public static ModelInfoPart Read(BinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
Binary |
reader | The binary reader. |
Returns
Type | Description |
---|---|
Model |
The model info part. |
Write(BinaryWriter)
Writes the sub asset.
Declaration
public override void Write(BinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
Binary |
writer | The stream. |