Navigation
API > API/Plugins > API/Plugins/MLDeformerFramework
An ML Deformer model that has a geometry cache as target mesh. Use this in combination with UMLDeformerGeomCacheVizSettings, FMLDeformerGeomCacheEditorModel, FMLDeformerGeomCacheVizSettingsDetails and FMLDeformerGeomCacheModelDetails.
| Name | UMLDeformerGeomCacheModel |
| Type | class |
| Header File | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFramework/Public/MLDeformerGeomCacheModel.h |
| Include Path | #include "MLDeformerGeomCacheModel.h" |
Syntax
UCLASS (MinimalAPI)
class UMLDeformerGeomCacheModel : public UMLDeformerModel
Inheritance Hierarchy
- UMLDeformerModel → UMLDeformerGeomCacheModel
Derived Classes
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MeshMappings | TArray< UE::MLDeformer::FMLDeformerGeomCacheMeshMapping > | The mappings between the geometry cache tracks and skeletal mesh imported meshes. | MLDeformerGeomCacheModel.h | |
| TrainingInputAnims | TArray< FMLDeformerGeomCacheTrainingInputAnim > | The training animation inputs. | MLDeformerGeomCacheModel.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetAssetRegistryTags
(
TArray< FAssetRegistryTag >& OutTags |
MLDeformerGeomCacheModel.h | ||
virtual void GetAssetRegistryTags
(
FAssetRegistryTagsContext Context |
MLDeformerGeomCacheModel.h | ||
| MLDeformerGeomCacheModel.h | |||
| Get the mapping between geometry cache tracks and meshes inside the skeletal mesh. | MLDeformerGeomCacheModel.h | ||
UMLDeformerGeomCacheVizSettings * GetGeomCacheVizSettings() |
Get the visualization settings, already cast to a UMLDeformerGeomCacheVizSettings type. | MLDeformerGeomCacheModel.h | |
UGeometryCache * GetGeometryCache () |
Get the geometry cache that represents the target deformation. This is our training target. | MLDeformerGeomCacheModel.h | |
const UGeometryCache * GetGeometryCache () |
Get the geometry cache that represents the target deformation. This is our training target. | MLDeformerGeomCacheModel.h | |
const TArray< FMLDeformerGeomCacheTrainingInputAnim > & GetTrainingInputAnims () |
MLDeformerGeomCacheModel.h | ||
| MLDeformerGeomCacheModel.h | |||
virtual bool HasTrainingGroundTruth() |
MLDeformerGeomCacheModel.h | ||
virtual void PostLoad() |
MLDeformerGeomCacheModel.h | ||
virtual void SampleGroundTruthPositions
(
float SampleTime, |
MLDeformerGeomCacheModel.h | ||
virtual void SampleGroundTruthPositionsAtFrame
(
int32 FrameIndex, |
MLDeformerGeomCacheModel.h | ||
void SetGeometryCache
(
UGeometryCache* GeomCache |
Set the geometry cache object to use for training. | MLDeformerGeomCacheModel.h | |
virtual void UpdateNumTargetMeshVertices() |
MLDeformerGeomCacheModel.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FName GetGeometryCachePropertyName() |
Get property names. | MLDeformerGeomCacheModel.h | |
static FName GetTrainingInputAnimsPropertyName() |
MLDeformerGeomCacheModel.h |