Navigation
API > API/Plugins > API/Plugins/NNEEditorTools
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UFactory
- UNNEModelDataFactory
References
| Module | NNEEditorTools |
| Header | /Engine/Plugins/Experimental/NNE/Source/NNEEditorTools/Public/NNEModelDataFactory.h |
| Include | #include "NNEModelDataFactory.h" |
Syntax
UCLASS&40;&41;
class UNNEModelDataFactory :
public UFactory,
public FReimportHandler
Remarks
Class for importing and creating new UNNEModelData assets.
The currently supported format is .onnx. The factory is invoked when a file of this format is dragged to the editor's content browser.
Constructors
| Type | Name | Description | |
|---|---|---|---|
UNNEModelDataFactory
(
const FObjectInitializer& ObjectInitializer |
Overridden from UFactory
| Type | Name | Description | |
|---|---|---|---|
| bool | FactoryCanImport
(
const FString& Filename |
Whether the specified file can be imported by this factory. | |
| UObject * | FactoryCreateBinary
(
UClass* InClass, |
Create a new object by importing it from a binary buffer. |
Overridden from FReimportHandler
| Type | Name | Description | |
|---|---|---|---|
| bool | CanReimport
(
UObject* Obj, |
Check to see if the handler is capable of reimporting the object | |
| EReimportResult::Type | Attempt to reimport the specified object from its source | ||
| void | SetReimportPaths
(
UObject* Obj, |
Sets the reimport path(s) for the specified object |