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

    Class NNModelEditor

    Asset Importer Editor of NNModel (the serialized file generated by ONNXModelImporter)

    Inheritance
    Object
    NNModelEditor
    Namespace: Unity.Barracuda
    Syntax
    [CustomEditor(typeof(NNModel))]
    public class NNModelEditor : Editor

    Methods

    OnInspectorGUI()

    Declaration
    public override void OnInspectorGUI()

    RenderStaticPreview(String, Object[], Int32, Int32)

    Declaration
    public override Texture2D RenderStaticPreview(string assetPath, Object[] subAssets, int width, int height)
    Parameters
    Type Name Description
    String assetPath
    Object[] subAssets
    Int32 width
    Int32 height
    Returns
    Type Description
    Texture2D
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 15 October 2020