Navigation
API > API/Plugins > API/Plugins/MLDeformerFrameworkEditor > API/Plugins/MLDeformerFrameworkEditor/FMLDeformerGeomCacheEditorModel
References
| Module | MLDeformerFrameworkEditor |
| Header | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFrameworkEditor/Public/MLDeformerGeomCacheEditorModel.h |
| Include | #include "MLDeformerGeomCacheEditorModel.h" |
| Source | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFrameworkEditor/Private/MLDeformerGeomCacheEditorModel.cpp |
void CreateGeomCacheActor
&40;
UWorld &42; World,
int32 ActorID,
const FName & Name,
UGeometryCache &42; GeomCache,
FLinearColor LabelColor,
FLinearColor WireframeColor,
const FText & LabelText,
bool bIsTrainingActor
&41;
Remarks
Creates a geometry cache editor actor (FMLDeformerGeomCacheActor) of a specific ID with a specific geometry cache and label. This will add a new editor actor to the list of editor actors.
Parameters
| Name | Description |
|---|---|
| World | The world to create the actor in. |
| ActorID | The ID that the actor will have after creation, for example UE::MLDeformer::ActorID_Train_GroundTruth. |
| Name | The name of the actor in the scene. |
| GeomCache | The geometry cache to use on this actor. |
| LabelColor | The color of the label that is rendered with the editor actor inside the editor viewport. |
| WireframeColor | The color of this actor when wireframe rendering is enabled. |
| LabelText | The text of the label. |
| bIsTrainingActor | Set this to true when the actor is an actor to be used in training mode, or set to false when it is to be used in testing mode. |