Search Results for

    Show / Hide Table of Contents

    Class ModelSource

    This class represents a model asset source.

    Inheritance
    object
    AssetSource
    ModelSource
    Implements
    IAssetSource
    Inherited Members
    AssetSource.ImporterContext
    AssetSource.IsPreprocessed
    AssetSource.Importer
    AssetSource.Id
    AssetSource.LastModified
    AssetSource.Header
    AssetSource.GetImporter(string)
    AssetSource.FindAssetPart<TPart>(int)
    AssetSource.FindAssetParts<TPart>()
    AssetSource.UpdateAssetPart<TPart>(TPart, int)
    Namespace: Evergine.Framework.Assets
    Assembly: Evergine.Framework.dll
    Syntax
    public class ModelSource : AssetSource, IAssetSource

    Fields

    Animations

    The animation info asset's 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 parts list.

    Declaration
    public List<SkinPart> Skins
    Field Value
    Type Description
    List<SkinPart>

    Properties

    AssetParts

    Gets the asset parts from the asset source.

    Declaration
    public override List<AssetPart> AssetParts { get; }
    Property Value
    Type Description
    List<AssetPart>
    Overrides
    AssetSource.AssetParts

    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 in 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()

    Frees all resources of this asset source.

    Declaration
    public override void Free()
    Overrides
    AssetSource.Free()

    Implements

    IAssetSource

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX