Search Results for

    Show / Hide Table of Contents

    Class AssetMetaFileWithSource<TSource, TProfile, TExporter>

    An asset with a source element.

    Inheritance
    object
    IdentifiableObject
    AssetMetafile<TProfile, TExporter>
    AssetMetaFileWithSource<TSource, TProfile, TExporter>
    FileMetaFile
    FontMetaFile
    ModelMetaFile
    PrefabMetaFile
    SoundMetaFile
    TextureMetaFile
    Implements
    IAssetWithSource
    IAssetMetaFile
    Inherited Members
    AssetMetafile<TProfile, TExporter>.ExtensionMetafile
    AssetMetafile<TProfile, TExporter>.ExtensionExported
    AssetMetafile<TProfile, TExporter>.Name
    AssetMetafile<TProfile, TExporter>.ExportAsRaw
    AssetMetafile<TProfile, TExporter>.DefaultProfile
    AssetMetafile<TProfile, TExporter>.Profiles
    AssetMetafile<TProfile, TExporter>.Exporter
    AssetMetafile<TProfile, TExporter>.GetProfile(string)
    AssetMetafile<TProfile, TExporter>.AddProfile(string, TProfile)
    AssetMetafile<TProfile, TExporter>.RemoveProfile(string)
    AssetMetafile<TProfile, TExporter>.GetProfileOrDefault(string)
    AssetMetafile<TProfile, TExporter>.Export(ExportContext)
    AssetMetafile<TProfile, TExporter>.GetExportOutputPath(ExportContext)
    IdentifiableObject.Id
    IdentifiableObject.IdHasChanged(Guid)
    Namespace: Evergine.Assets.Exporters
    Assembly: Evergine.Assets.dll
    Syntax
    public abstract class AssetMetaFileWithSource<TSource, TProfile, TExporter> : AssetMetafile<TProfile, TExporter>, IAssetWithSource, IAssetMetaFile where TSource : AssetSource where TProfile : AssetProfile where TExporter : IAssetExporter
    Type Parameters
    Name Description
    TSource

    The source asset.

    TProfile

    The profile class.

    TExporter

    The exporter class.

    Constructors

    AssetMetaFileWithSource(TSource, TProfile)

    Initializes a new instance of the AssetMetaFileWithSource<TSource, TProfile, TExporter> class.

    Declaration
    public AssetMetaFileWithSource(TSource resource, TProfile defaultProfile)
    Parameters
    Type Name Description
    TSource resource

    The resource.

    TProfile defaultProfile

    The default profile.

    Properties

    NeedsToImportData

    Gets a value indicating whether the source data needs to be imported during export.

    Declaration
    public virtual bool NeedsToImportData { get; }
    Property Value
    Type Description
    bool

    Source

    Gets or sets the asset resource.

    Declaration
    public TSource Source { get; set; }
    Property Value
    Type Description
    TSource

    SourceFile

    Gets or sets the resource file.

    Declaration
    public ContentFile SourceFile { get; set; }
    Property Value
    Type Description
    ContentFile

    Implements

    IAssetWithSource
    IAssetMetaFile

    Extension Methods

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