Navigation
API > API/Plugins > API/Plugins/MLDeformerFrameworkEditor
Inheritance Hierarchy
- TSharedFromThis
- FGCObject
- FMLDeformerEditorModel
- FMLDeformerGeomCacheEditorModel
- FMLDeformerMorphModelEditorModel
- FNearestNeighborEditorModel
- FNeuralMorphEditorModel
- FVertexDeltaEditorModel
References
| Module | MLDeformerFrameworkEditor |
| Header | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFrameworkEditor/Public/MLDeformerGeomCacheEditorModel.h |
| Include | #include "MLDeformerGeomCacheEditorModel.h" |
Syntax
class FMLDeformerGeomCacheEditorModel : public UE::MLDeformer::FMLDeformerEditorModel
Remarks
An editor model for the a model derived from the UMLDeformerGeomCacheModel runtime model. This editor model automatically handles sampling of the geometry caches to calculate deltas. It also handles the creation of ground truth models with a geometry cache on them.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CreateGeomCacheActor
(
UWorld* World, |
Creates a geometry cache editor actor (FMLDeformerGeomCacheActor) of a specific ID with a specific geometry cache and label. | |
| FMLDeformerGeomCacheActor * | FindGeomCacheEditorActor
(
int32 ID |
||
| UMLDeformerGeomCacheModel * | |||
| FMLDeformerGeomCacheSampler * | Helpers. | ||
| UMLDeformerGeomCacheVizSettings * |
Overridden from FMLDeformerEditorModel
| Type | Name | Description | |
|---|---|---|---|
| FMLDeformerEditorActor * | CreateEditorActor
(
const FMLDeformerEditorActor::FConstructSettings& Settings |
Create an actor in the editor viewport. | |
| FMLDeformerSampler * | Create the vertex delta sampler object. | ||
| void | CreateTestGroundTruthActor
(
UWorld* World |
Create the test ground truth actor. | |
| void | CreateTrainingGroundTruthActor
(
UWorld* World |
Create the training ground truth actor. | |
| int32 | Get the number of training frames. | ||
| int32 | GetTestFrameAtTime
(
double TimeInSeconds |
Get the test data frame number for a specific time offset in seconds. | |
| double | GetTestTimeAtFrame
(
int32 FrameNumber |
Get the time in seconds, for a given frame in the test data. | |
| void | This is called when training data inputs change. | ||
| void | OnObjectModified
(
UObject* Object |
Called whenever an engine object is being modified. | |
| void | OnPropertyChanged
(
FPropertyChangedEvent& PropertyChangedEvent |
This is called whenever a property value changes in the UI. | |
| ETrainingResult | Train () |
Launch the training. | |
| void | Update the state that is used to decide whether the Train button in the UI is enabled or not. |
Overridden from FGCObject
| Type | Name | Description | |
|---|---|---|---|
| FString | Overload this method to report a name for your referencer |