Navigation
API > API/Plugins > API/Plugins/NearestNeighborModelEditor
| Name | FNearestNeighborEditorModel |
| Type | class |
| Header File | /Engine/Plugins/Animation/MLDeformer/NearestNeighborModel/Source/NearestNeighborModelEditor/Public/NearestNeighborEditorModel.h |
| Include Path | #include "NearestNeighborEditorModel.h" |
Syntax
class FNearestNeighborEditorModel : public UE::MLDeformer::FMLDeformerMorphModelEditorModel
Inheritance Hierarchy
- UE::MLDeformer::FMLDeformerMorphModelEditorModel → FNearestNeighborEditorModel
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FMLDeformerSampler | UE::MLDeformer::FMLDeformerSampler | NearestNeighborEditorModel.h | |
| FSection | UNearestNeighborModelSection | NearestNeighborEditorModel.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DefaultState | int32 | NearestNeighborEditorModel.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| NearestNeighborActor | FNearestNeighborEditorModelActor * | NearestNeighborEditorModel.h | ||
| VertexMapSelector | TUniquePtr< FVertexMapSelector > | NearestNeighborEditorModel.h | ||
| VertVizSelector | TUniquePtr< FVertVizSelector > | NearestNeighborEditorModel.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ClearReferences() |
NearestNeighborEditorModel.h | ||
virtual void CopyBaseSettingsFromModel
(
const FMLDeformerEditorModel* SourceEditorModel |
NearestNeighborEditorModel.h | ||
virtual void CreateActors
(
const TSharedRef< IPersonaPreviewScene >& InPersonaPreviewScene |
NearestNeighborEditorModel.h | ||
virtual TSharedPtr< FMLDeformerSampler > CreateSamplerObject() |
NearestNeighborEditorModel.h | ||
virtual FString GetReferencerName() |
NearestNeighborEditorModel.h | ||
virtual FMLDeformerTrainingInputAnim * GetTrainingInputAnim
(
int32 Index |
NearestNeighborEditorModel.h | ||
FVertexMapSelector * GetVertexMapSelector() |
NearestNeighborEditorModel.h | ||
FVertVizSelector * GetVertVizSelector() |
NearestNeighborEditorModel.h | ||
virtual void Init
(
const InitSettings& Settings |
NearestNeighborEditorModel.h | ||
virtual void InitInputInfo
(
UMLDeformerInputInfo* InputInfo |
NearestNeighborEditorModel.h | ||
virtual bool IsMorphWeightClampingSupported() |
NearestNeighborEditorModel.h | ||
virtual bool LoadTrainedNetwork() |
NearestNeighborEditorModel.h | ||
virtual void OnPostTraining
(
ETrainingResult TrainingResult, |
NearestNeighborEditorModel.h | ||
virtual void OnPropertyChanged
(
FPropertyChangedEvent& PropertyChangedEvent |
NearestNeighborEditorModel.h | ||
void OnUpdateClicked() |
NearestNeighborEditorModel.h | ||
virtual void Render
(
const FSceneView* View, |
NearestNeighborEditorModel.h | ||
virtual void Tick
(
FEditorViewportClient* ViewportClient, |
NearestNeighborEditorModel.h | ||
virtual ETrainingResult Train() |
NearestNeighborEditorModel.h | ||
virtual void UpdateTimelineTrainingAnimList() |
NearestNeighborEditorModel.h | ||
virtual void UpdateTrainingDeviceList() |
NearestNeighborEditorModel.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CreateSamplers() |
NearestNeighborEditorModel.h | ||
virtual bool IsAnimIndexValid
(
int32 Index |
NearestNeighborEditorModel.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FMLDeformerEditorModel * MakeInstance() |
We need to implement this static MakeInstance method. | NearestNeighborEditorModel.h |