Class ModelSource
This class represent a model asset source.
Implements
Inherited Members
Namespace: Evergine.Framework.Assets
Assembly: Evergine.Framework.dll
Syntax
public class ModelSource : AssetSource, IAssetSource
  Fields
Animations
The animation info asset parts.
Declaration
public List<AnimationInfoPart> Animations
  Field Value
| Type | Description | 
|---|---|
| List<AnimationInfoPart> | 
Buffers
Gets or sets the buffer parts.
Declaration
public List<BufferPart> Buffers
  Field Value
| Type | Description | 
|---|---|
| List<BufferPart> | 
Materials
The material Ids.
Declaration
public List<Guid> Materials
  Field Value
| Type | Description | 
|---|---|
| List<Guid> | 
Meshes
Gets or sets the mesh asset part list.
Declaration
public List<MeshPart> Meshes
  Field Value
| Type | Description | 
|---|---|
| List<MeshPart> | 
Skins
Gets or sets the mesh skin part list.
Declaration
public List<SkinPart> Skins
  Field Value
| Type | Description | 
|---|---|
| List<SkinPart> | 
Properties
AssetParts
Gets the asset parts of the asset source.
Declaration
public override List<AssetPart> AssetParts { get; }
  Property Value
| Type | Description | 
|---|---|
| List<AssetPart> | 
Overrides
ModelInfo
Gets or sets the model info asset part.
Declaration
public ModelInfoPart ModelInfo { get; set; }
  Property Value
| Type | Description | 
|---|---|
| ModelInfoPart | 
NodeHierarchy
Gets or sets the node hierarchy asset part.
Declaration
public NodeHierarchyPart NodeHierarchy { get; set; }
  Property Value
| Type | Description | 
|---|---|
| NodeHierarchyPart | 
Methods
FindTrack(string)
Finds a track of the model.
Declaration
public AnimationClipModel FindTrack(string name)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | name | The name of the desired track.  | 
      
Returns
| Type | Description | 
|---|---|
| AnimationClipModel | The desired track.  | 
      
Free()
Free all resources of this asset source.
Declaration
public override void Free()