Class NNModelEditor
Asset Importer Editor of NNModel (the serialized file generated by ONNXModelImporter)
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 |