Navigation
API > API/Plugins > API/Plugins/MLDeformerFrameworkEditor > API/Plugins/MLDeformerFrameworkEditor/FMLDeformerEditorModel
Description
Create the editor actors. These are the actors that will appear in the viewport of the asset editor. Every actor has some specific ID. The base implementation of certain methods will assume there are specific actors, such as a linear skinned actor, ML Deformed actor, and a ground truth one. You can find the ID values of those inside the FMLDeformerEditorActor.h file. The ID values are things like: ActorID_Train_Base, ActorID_Train_GroundTruth, ActorID_Test_Base, ActorID_Test_MLDeformed and ActorID_Test_GroundTruth. Nothing prevents you from adding more or less actors though.
| Name | CreateActors |
| Type | function |
| Header File | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFrameworkEditor/Public/MLDeformerEditorModel.h |
| Include Path | #include "MLDeformerEditorModel.h" |
| Source | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFrameworkEditor/Private/MLDeformerEditorModel.cpp |
virtual void CreateActors
(
const TSharedRef < IPersonaPreviewScene > & InPersonaPreviewScene
)
Parameters
| Name | Remarks |
|---|---|
| InPersonaPreviewScene | The persona scene. |