Navigation
API > API/Plugins > API/Plugins/MLDeformerFrameworkEditor
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.
| Name | FMLDeformerGeomCacheEditorModel |
| Type | class |
| Header File | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFrameworkEditor/Public/MLDeformerGeomCacheEditorModel.h |
| Include Path | #include "MLDeformerGeomCacheEditorModel.h" |
Syntax
class FMLDeformerGeomCacheEditorModel : public UE::MLDeformer::FMLDeformerEditorModel
Inheritance Hierarchy
- FGCObject → FMLDeformerEditorModel → FMLDeformerGeomCacheEditorModel
- FSharedFromThisBase → TSharedFromThis → FMLDeformerEditorModel → FMLDeformerGeomCacheEditorModel
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMLDeformerGeomCacheActor * FindGeomCacheEditorActor
(
int32 ID |
MLDeformerGeomCacheEditorModel.h | ||
UGeometryCache * GetActiveGeometryCache() |
MLDeformerGeomCacheEditorModel.h | ||
UMLDeformerGeomCacheModel * GetGeomCacheModel() |
MLDeformerGeomCacheEditorModel.h | ||
FMLDeformerGeomCacheSampler * GetGeomCacheSampler() |
Helpers. | MLDeformerGeomCacheEditorModel.h | |
UMLDeformerGeomCacheVizSettings * GetGeomCacheVizSettings() |
MLDeformerGeomCacheEditorModel.h |
Overridden from FMLDeformerEditorModel
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CopyBaseSettingsFromModel
(
const FMLDeformerEditorModel* SourceEditorModel |
Copy the common property values from a source model into this model. | MLDeformerGeomCacheEditorModel.h | |
virtual FMLDeformerEditorActor * CreateEditorActor
(
const FMLDeformerEditorActor::FConstructSettings& Settings |
Create an actor in the editor viewport. | MLDeformerGeomCacheEditorModel.h | |
virtual TSharedPtr< FMLDeformerSampler > CreateSamplerObject () |
Create the vertex delta sampler object. | MLDeformerGeomCacheEditorModel.h | |
virtual void CreateTestGroundTruthActor
(
UWorld* World |
Create the test ground truth actor. | MLDeformerGeomCacheEditorModel.h | |
virtual void CreateTrainingGroundTruthActor
(
UWorld* World |
Create the training ground truth actor. | MLDeformerGeomCacheEditorModel.h | |
virtual int32 GetNumTrainingInputAnims () |
Get the number of training input animations. | MLDeformerGeomCacheEditorModel.h | |
virtual FMLDeformerTrainingInputAnim * GetTrainingInputAnim
(
int32 Index |
Get a given training input animation. | MLDeformerGeomCacheEditorModel.h | |
virtual void Init
(
const InitSettings& Settings |
Initialize the model. | MLDeformerGeomCacheEditorModel.h | |
virtual void OnInputAssetsChanged () |
This is called when training data inputs change. | MLDeformerGeomCacheEditorModel.h | |
virtual void OnObjectModified
(
UObject* Object |
Called whenever an engine object is being modified. | MLDeformerGeomCacheEditorModel.h | |
virtual void OnPropertyChanged
(
FPropertyChangedEvent& PropertyChangedEvent |
This is called whenever a property value changes in the UI. | MLDeformerGeomCacheEditorModel.h | |
virtual ETrainingResult Train () |
Launch the training. | MLDeformerGeomCacheEditorModel.h | |
virtual void UpdateIsReadyForTrainingState () |
Update the state that is used to decide whether the Train button in the UI is enabled or not. | MLDeformerGeomCacheEditorModel.h | |
virtual void UpdateNumTrainingFrames () |
Updates the number of available training frames as returned by GetNumTrainingFrames(). | MLDeformerGeomCacheEditorModel.h |
Overridden from FGCObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetReferencerName() |
MLDeformerGeomCacheEditorModel.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CreateGeomCacheActor
(
UWorld* World, |
Creates a geometry cache editor actor (FMLDeformerGeomCacheActor) of a specific ID with a specific geometry cache and label. | MLDeformerGeomCacheEditorModel.h |