Search Results for

    Show / Hide Table of Contents

    Class PrefabExporter

    The prefab asset exporter.

    Inheritance
    object
    BaseAssetExporter<PrefabMetaFile, PrefabProfile>
    PrefabExporter
    Implements
    IAssetExporter
    Inherited Members
    BaseAssetExporter<PrefabMetaFile, PrefabProfile>.Extension
    BaseAssetExporter<PrefabMetaFile, PrefabProfile>.GetExportFilePath(PrefabMetaFile, PrefabProfile, ExportContext)
    BaseAssetExporter<PrefabMetaFile, PrefabProfile>.BaseExport(PrefabMetaFile, PrefabProfile, ExportContext)
    BaseAssetExporter<PrefabMetaFile, PrefabProfile>.ExportOutputFile(PrefabMetaFile, PrefabProfile, ExportContext)
    Namespace: Evergine.Assets.Exporters.Prefab
    Assembly: Evergine.Assets.dll
    Syntax
    public class PrefabExporter : BaseAssetExporter<PrefabMetaFile, PrefabProfile>, IAssetExporter

    Properties

    Extension

    Gets the asset export extension.

    Declaration
    public override string Extension { get; }
    Property Value
    Type Description
    string
    Overrides
    BaseAssetExporter<PrefabMetaFile, PrefabProfile>.Extension

    Methods

    ExportOutputFile(PrefabMetaFile, PrefabProfile, ExportContext)

    Exports the assets.

    Declaration
    protected override Task<ExportResult> ExportOutputFile(PrefabMetaFile asset, PrefabProfile profile, ExportContext exportContext)
    Parameters
    Type Name Description
    PrefabMetaFile asset

    The asset meta file.

    PrefabProfile profile

    The profile object.

    ExportContext exportContext

    The export context.

    Returns
    Type Description
    Task<ExportResult>

    An awaitable task representing the result of the export process.

    Overrides
    BaseAssetExporter<PrefabMetaFile, PrefabProfile>.ExportOutputFile(PrefabMetaFile, PrefabProfile, ExportContext)

    GetExportFilePath(PrefabMetaFile, PrefabProfile, ExportContext)

    Gets the export file path.

    Declaration
    public override string GetExportFilePath(PrefabMetaFile asset, PrefabProfile profile, ExportContext exportContext)
    Parameters
    Type Name Description
    PrefabMetaFile asset

    The asset.

    PrefabProfile profile

    The profile.

    ExportContext exportContext

    The export context.

    Returns
    Type Description
    string

    The export file path.

    Overrides
    BaseAssetExporter<PrefabMetaFile, PrefabProfile>.GetExportFilePath(PrefabMetaFile, PrefabProfile, ExportContext)

    Implements

    IAssetExporter

    Extension Methods

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