Navigation
API > API/Plugins > API/Plugins/MLDeformerFrameworkEditor
References
| Module | MLDeformerFrameworkEditor |
| Header | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFrameworkEditor/Public/MLDeformerModelRegistry.h |
| Include | #include "MLDeformerModelRegistry.h" |
Syntax
class FMLDeformerEditorModelRegistry
Remarks
The editor model registry, which keeps track of different types of runtime ML Deformer models and their related editor models. When you create a new ML Deformer model type, you register it to this registry using the RegisterEditorModel method. You typically do this in your editor module's StartupModule method. And you unregister it again in the editor module's ShutdownModule method. Models can have priorities. The one model with the highest priority level will be the model that is created by default when creating a new ML Deformer asset.
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FMLDeformerEditorModel * | GetEditorModel
(
UMLDeformerModel* Model |
Get the editor model related to a given runtime model. | |
| UClass * | Get the highest priority runtime model class. | ||
| int32 | Get the highest priority model index into the map. | ||
| const TMap< UMLDeformerModel *, FMLDeformerEditorModel * > & | Get the read-only map that maps instanced models with their editor models. | ||
| int32 | Get the number of instanced models. | ||
| int32 | Get the number of registered models. | ||
| int32 | GetPriorityForModel
(
UClass* ModelType |
Get the priority level for a given runtime model type. | |
| const TMap< UClass *, FOnGetEditorModelInstance > & | Get the read-only map of registered models. | ||
| void | RegisterEditorModel
(
UClass* ModelType, |
Register a new model. | |
| void | UnregisterEditorModel
(
const UClass* ModelType |
Unregister the editor model. Call this method in your editor module's ShutdownModule call. |