Class RuntimeImporter<TModel, TAsset> | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class RuntimeImporter<TModel, TAsset>

    Inheritance
    System.Object
    RuntimeImporter<TModel, TAsset>
    SyncMaterialImporter
    SyncMeshImporter
    SyncObjectImporter
    SyncTextureImporter
    Namespace: UnityEngine.Reflect
    Syntax
    public abstract class RuntimeImporter<TModel, TAsset>
        where TModel : ISyncModel
    Type Parameters
    Name Description
    TModel
    TAsset

    Methods

    Clear(TAsset)

    Declaration
    protected abstract void Clear(TAsset asset)
    Parameters
    Type Name Description
    TAsset asset

    CreateNew(TModel)

    Declaration
    public abstract TAsset CreateNew(TModel model)
    Parameters
    Type Name Description
    TModel model
    Returns
    Type Description
    TAsset

    Import(TModel, Object)

    Declaration
    public TAsset Import(TModel model, object settings)
    Parameters
    Type Name Description
    TModel model
    System.Object settings
    Returns
    Type Description
    TAsset

    ImportInternal(TModel, TAsset, Object)

    Declaration
    protected abstract void ImportInternal(TModel model, TAsset texture, object settings)
    Parameters
    Type Name Description
    TModel model
    TAsset texture
    System.Object settings

    Reimport(TModel, TAsset, Object)

    Declaration
    public void Reimport(TModel model, TAsset asset, object settings)
    Parameters
    Type Name Description
    TModel model
    TAsset asset
    System.Object settings
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023