Search Results for

    Show / Hide Table of Contents

    Class FBXImporter

    The FBX importer class.

    Inheritance
    object
    AAssetImporter<ModelSource>
    GLTFImporter
    FBXImporter
    Implements
    IAssetImporter
    Inherited Members
    AAssetImporter<ModelSource>.ImportSource(Stream, bool, bool)
    Namespace: Evergine.Assets.Importers
    Assembly: Evergine.Assets.dll
    Syntax
    public class FBXImporter : GLTFImporter, IAssetImporter

    Fields

    GltfExtension

    The glTF extension.

    Declaration
    public const string GltfExtension = ".glb"
    Field Value
    Type Description
    string

    GltfModelCache

    The glTF cache location.

    Declaration
    public const string GltfModelCache = "Cache/Gltf"
    Field Value
    Type Description
    string

    MaxSkinningWeights

    The maximum of skinning weights.

    Declaration
    public static uint MaxSkinningWeights
    Field Value
    Type Description
    uint

    SparseMorphTargets

    If the importer should generate morph targets with sparse indices.

    Declaration
    public static bool SparseMorphTargets
    Field Value
    Type Description
    bool

    Properties

    Extensions

    Gets the importer extension.

    Declaration
    public override string[] Extensions { get; }
    Property Value
    Type Description
    string[]
    Overrides
    GLTFImporter.Extensions

    Methods

    ApplySettings(ProjectParameters)

    Apply the project settings to the importer.

    Declaration
    public override void ApplySettings(ProjectParameters projectParameters)
    Parameters
    Type Name Description
    ProjectParameters projectParameters
    Overrides
    AAssetImporter<ModelSource>.ApplySettings(ProjectParameters)

    ConvertToGLTF()

    Gets a value indicating whether the asset needs to be converted to GLTF.

    Declaration
    protected Stream ConvertToGLTF()
    Returns
    Type Description
    Stream

    The FBX stream.

    ConvertToGLTF(string, string)

    Converts this file to glTF.

    Declaration
    public void ConvertToGLTF(string assetPath, string gltfPath)
    Parameters
    Type Name Description
    string assetPath

    The asset path.

    string gltfPath

    The glTF path.

    GenerateAdditionalAssets(Stream, ModelSource)

    Indicates if this asset requires additional assets.

    Declaration
    public override bool GenerateAdditionalAssets(Stream stream, ModelSource resource)
    Parameters
    Type Name Description
    Stream stream

    The asset stream.

    ModelSource resource

    The current resource.

    Returns
    Type Description
    bool

    If the asset requires additional assets.

    Overrides
    GLTFImporter.GenerateAdditionalAssets(Stream, ModelSource)

    ImportData(Stream, ModelSource, bool)

    Imports the asset data.

    Declaration
    public override void ImportData(Stream stream, ModelSource resource, bool rawData)
    Parameters
    Type Name Description
    Stream stream

    The stream.

    ModelSource resource

    The output data.

    bool rawData
    Overrides
    GLTFImporter.ImportData(Stream, ModelSource, bool)

    ImportHeader(Stream, out ModelSource)

    Imports the asset header.

    Declaration
    public override void ImportHeader(Stream stream, out ModelSource resource)
    Parameters
    Type Name Description
    Stream stream

    The stream.

    ModelSource resource

    The output header.

    Overrides
    GLTFImporter.ImportHeader(Stream, out ModelSource)

    Implements

    IAssetImporter

    Extension Methods

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