Navigation
API > API/Plugins > API/Plugins/NearestNeighborModel
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMLDeformerModelInstance
- UMLDeformerMorphModelInstance
- UNearestNeighborModelInstance
References
| Module | NearestNeighborModel |
| Header | /Engine/Plugins/Animation/MLDeformer/NearestNeighborModel/Source/NearestNeighborModel/Public/NearestNeighborModelInstance.h |
| Include | #include "NearestNeighborModelInstance.h" |
Syntax
UCLASS (Blueprintable)
class UNearestNeighborModelInstance : public UMLDeformerMorphModelInstance
Functions
Overridden from UMLDeformerModelInstance
| Type | Name | Description | |
|---|---|---|---|
| FString | CheckCompatibility
(
USkeletalMeshComponent* InSkelMeshComponent, |
Check whether the deformer is compatible with a given skeletal mesh component. | |
| void | Execute
(
float ModelWeight |
Execute the model instance, which can run the neural network inference in case the model uses a neural network. | |
| void | Init
(
USkeletalMeshComponent* SkelMeshComponent |
Initialize the model instance. | |
| int64 | SetBoneTransforms
(
float* OutputBuffer, |
Set the bone transformations inside a given output buffer, starting from a given StartIndex. | |
| bool | SetupInputs () |
Setup the neural network for this frame. | |
| void | Tick
(
float DeltaTime, |
Update the deformer instance. |
Typedefs
| Name | Description |
|---|---|
| UConstNetworkPtr | |
| UNetworkPtr |