Navigation
API > API/Plugins > API/Plugins/NeuralMorphModelEditor
The editor model related to the neural morph model's runtime class (UNeuralMorphModel).
| Name | FNeuralMorphEditorModel |
| Type | class |
| Header File | /Engine/Plugins/Animation/MLDeformer/NeuralMorphModel/Source/NeuralMorphModelEditor/Public/NeuralMorphEditorModel.h |
| Include Path | #include "NeuralMorphEditorModel.h" |
Syntax
class FNeuralMorphEditorModel : public FMLDeformerMorphModelEditorModel
Inheritance Hierarchy
- FGCObject → FMLDeformerEditorModel → FMLDeformerGeomCacheEditorModel → FMLDeformerMorphModelEditorModel → FNeuralMorphEditorModel
- FSharedFromThisBase → TSharedFromThis → FMLDeformerEditorModel → FMLDeformerGeomCacheEditorModel → FMLDeformerMorphModelEditorModel → FNeuralMorphEditorModel
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PRAGMA_DISABLE_DEPRECATION_WARNINGS | NeuralMorphEditorModel.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ApplyMaskInfoToMaskBuffer
(
const USkeletalMesh* SkeletalMesh, |
NeuralMorphEditorModel.h | ||
void BuildMaskBuffer
(
TArray< float >& OutMaskBuffer |
Build a set of masks, all concatenated into one flat array. | NeuralMorphEditorModel.h | |
virtual TSharedPtr< SMLDeformerInputWidget > CreateInputWidget() |
NeuralMorphEditorModel.h | ||
void DebugDrawItemMask
(
FPrimitiveDrawInterface* PDI, |
Draw the mask for a given item. An item can be a bone, curve or anything else that has a mask. | NeuralMorphEditorModel.h | |
void GenerateBoneGroupMaskInfo
(
int32 InputInfoBoneGroupIndex, |
Generate the mask info for a given bone group. | NeuralMorphEditorModel.h | |
void GenerateBoneGroupMaskInfos
(
int32 HierarchyDepth |
Generate the mask infos for all bone groups. | NeuralMorphEditorModel.h | |
void GenerateBoneMaskInfo
(
int32 InputInfoBoneIndex, |
Generate the mask info for a given bone. | NeuralMorphEditorModel.h | |
void GenerateBoneMaskInfos
(
int32 HierarchyDepth |
Generate bone mask infos for all bones in the bone input list. | NeuralMorphEditorModel.h | |
FName GenerateUniqueBoneGroupName() |
Generate a unique name for a bone group. | NeuralMorphEditorModel.h | |
FName GenerateUniqueCurveGroupName() |
Generate a unique name for a curve group. | NeuralMorphEditorModel.h | |
virtual UMeshDeformer * GetActiveHeatMapDeformer() |
NeuralMorphEditorModel.h | ||
virtual const TArrayView< const float > GetMaskForMorphTarget
(
int32 MorphTargetIndex |
NeuralMorphEditorModel.h | ||
int32 GetMaskVisualizationItemIndex () |
Get the mask visualization item index. | NeuralMorphEditorModel.h | |
UNeuralMorphModel * GetNeuralMorphModel() |
Get a pointer to the neural morph runtime model. | NeuralMorphEditorModel.h | |
virtual FText GetOverlayText() |
NeuralMorphEditorModel.h | ||
virtual FString GetReferencerName() |
NeuralMorphEditorModel.h | ||
virtual bool GetSupportsPerTrainingInputAnimVertexMask() |
NeuralMorphEditorModel.h | ||
virtual void Init
(
const InitSettings& Settings |
NeuralMorphEditorModel.h | ||
virtual void InitInputInfo
(
UMLDeformerInputInfo* InputInfo |
NeuralMorphEditorModel.h | ||
virtual bool IsInputMaskingSupported() |
NeuralMorphEditorModel.h | ||
virtual bool LoadTrainedNetwork() |
NeuralMorphEditorModel.h | ||
virtual void OnPostInputAssetChanged() |
NeuralMorphEditorModel.h | ||
virtual void OnPropertyChanged
(
FPropertyChangedEvent& PropertyChangedEvent |
NeuralMorphEditorModel.h | ||
void RebuildEditorMaskInfo() |
Rebuild the mask buffer. | NeuralMorphEditorModel.h | |
void RemoveNonExistingMaskInfos() |
Remove mask infos for bones that do not exist in the bone include list. | NeuralMorphEditorModel.h | |
virtual void Render
(
const FSceneView* View, |
NeuralMorphEditorModel.h | ||
void ResetBoneGroupMaskInfos() |
Clear all bone group mask infos. | NeuralMorphEditorModel.h | |
void ResetBoneMaskInfos() |
Clear all bone mask infos. | NeuralMorphEditorModel.h | |
void SetMaskVisualizationItemIndex
(
int32 InMaskVizItemIndex |
Set the mask visualization item index. | NeuralMorphEditorModel.h | |
virtual ETrainingResult Train() |
NeuralMorphEditorModel.h | ||
virtual void UpdateIsReadyForTrainingState() |
NeuralMorphEditorModel.h | ||
virtual void UpdateTrainingDeviceList() |
NeuralMorphEditorModel.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FMLDeformerEditorModel * MakeInstance() |
We need to implement this static MakeInstance method. | NeuralMorphEditorModel.h |