Navigation
API > API/Plugins > API/Plugins/NearestNeighborModelEditor
Inheritance Hierarchy
- TSharedFromThis
- FGCObject
- FMLDeformerEditorModel
- FMLDeformerGeomCacheEditorModel
- FMLDeformerMorphModelEditorModel
- FNearestNeighborEditorModel
References
| Module | NearestNeighborModelEditor |
| Header | /Engine/Plugins/Animation/MLDeformer/NearestNeighborModel/Source/NearestNeighborModelEditor/Public/NearestNeighborEditorModel.h |
| Include | #include "NearestNeighborEditorModel.h" |
Syntax
class FNearestNeighborEditorModel : public UE::MLDeformer::FMLDeformerMorphModelEditorModel
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | CopyBaseSettingsFromModel
(
const FMLDeformerEditorModel* SourceEditorModel |
||
| FVertexMapSelector * | |||
| FVertVizSelector * | |||
| FMLDeformerEditorModel * | MakeInstance () |
We need to implement this static MakeInstance method. | |
| void |
Overridden from FMLDeformerMorphModelEditorModel
| Type | Name | Description | |
|---|---|---|---|
| bool | Returns whether this model supports morph output weight clamping or not. |
Overridden from FMLDeformerEditorModel
| Type | Name | Description | |
|---|---|---|---|
| void | CreateActors
(
const TSharedRef< IPersonaPreviewScene >& InPersonaPreviewScene |
Create the editor actors. | |
| TSharedPtr< FMLDeformerSampler > | Create the vertex delta sampler object. | ||
| void | |||
| FMLDeformerTrainingInputAnim * | GetTrainingInputAnim
(
int32 Index |
Get a given training input animation. | |
| void | Init
(
const InitSettings& Settings |
Initialize the model. | |
| void | InitInputInfo
(
UMLDeformerInputInfo* InputInfo |
Initialize the input information, which basically describes what the inputs to the neural network are going to be. | |
| bool | IsAnimIndexValid
(
int32 Index |
||
| bool | Load the trained network from an onnx file. | ||
| void | OnPostTraining
(
ETrainingResult TrainingResult, |
This method is executed after training. | |
| void | OnPropertyChanged
(
FPropertyChangedEvent& PropertyChangedEvent |
This is called whenever a property value changes in the UI. | |
| void | Render
(
const FSceneView* View, |
Render additional (debug) things in the viewport. | |
| void | Tick
(
FEditorViewportClient* ViewportClient, |
Tick the editor viewport. | |
| ETrainingResult | Train () |
Launch the training. | |
| void | Update the timeline's training input animation list. | ||
| void | This should update the list of available training devices. |
Overridden from FGCObject
| Type | Name | Description | |
|---|---|---|---|
| FString | Overload this method to report a name for your referencer |
Typedefs
| Name | Description |
|---|---|
| FMLDeformerSampler | |
| FSection |
Constants
| Name | Description |
|---|---|
| DefaultState |