Class ONNXModelImporter | Barracuda | 1.1.2-preview
docs.unity.cn
    Show / Hide Table of Contents

    Class ONNXModelImporter

    Asset Importer for Open Neural Network Exchange (ONNX) files. For more information about ONNX file format see: https://github.com/onnx/onnx

    Inheritance
    Object
    Object
    AssetImporter
    ScriptedImporter
    ONNXModelImporter
    Inherited Members
    ScriptedImporter.SupportsRemappedAssetType(Type)
    AssetImporter.SetAssetBundleNameAndVariant(String, String)
    AssetImporter.GetAtPath(String)
    AssetImporter.SaveAndReimport()
    UnityEditor.AssetImporter.AddRemap(UnityEditor.AssetImporter.SourceAssetIdentifier, UnityEngine.Object)
    UnityEditor.AssetImporter.RemoveRemap(UnityEditor.AssetImporter.SourceAssetIdentifier)
    AssetImporter.GetExternalObjectMap()
    AssetImporter.assetPath
    AssetImporter.importSettingsMissing
    UnityEditor.AssetImporter.assetTimeStamp
    AssetImporter.userData
    AssetImporter.assetBundleName
    AssetImporter.assetBundleVariant
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectOfType<T>()
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.ToString()
    Object.name
    Object.hideFlags
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Barracuda
    Syntax
    [ScriptedImporter(10, new string[]{"onnx"})]
    public class ONNXModelImporter : ScriptedImporter

    Fields

    forceArbitraryBatchSize

    Declaration
    public bool forceArbitraryBatchSize
    Field Value
    Type Description
    Boolean

    iconName

    Declaration
    public const string iconName = "ONNXModelIcon"
    Field Value
    Type Description
    String

    optimizeModel

    Declaration
    public bool optimizeModel
    Field Value
    Type Description
    Boolean

    treatErrorsAsWarnings

    Declaration
    public bool treatErrorsAsWarnings
    Field Value
    Type Description
    Boolean

    Methods

    OnImportAsset(AssetImportContext)

    Declaration
    public override void OnImportAsset(AssetImportContext ctx)
    Parameters
    Type Name Description
    AssetImportContext ctx
    Overrides
    ScriptedImporter.OnImportAsset(AssetImportContext)
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 15 October 2020