Navigation
API > API/Plugins > API/Plugins/NearestNeighborModel
| Name | UNearestNeighborModelInstance |
| Type | class |
| Header File | /Engine/Plugins/Animation/MLDeformer/NearestNeighborModel/Source/NearestNeighborModel/Public/NearestNeighborModelInstance.h |
| Include Path | #include "NearestNeighborModelInstance.h" |
Syntax
UCLASS (MinimalAPI, Blueprintable)
class UNearestNeighborModelInstance : public UMLDeformerMorphModelInstance
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMLDeformerModelInstance → UMLDeformerMorphModelInstance → UNearestNeighborModelInstance
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| UConstNetworkPtr | const TWeakObjectPtr< const UNearestNeighborOptimizedNetwork > | NearestNeighborModelInstance.h | |
| UNetworkPtr | TWeakObjectPtr< UNearestNeighborOptimizedNetwork > | NearestNeighborModelInstance.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bNeedsReset | bool | NearestNeighborModelInstance.h | ||
| DistanceBuffer | TArray< float > | NearestNeighborModelInstance.h | ||
| NearestNeighborIds | TArray< uint32 > | NearestNeighborModelInstance.h | ||
| OptimizedNetworkInstance | TObjectPtr< UNearestNeighborOptimizedNetworkInstance > | NearestNeighborModelInstance.h | ||
| PreviousWeights | TArray< float > | NearestNeighborModelInstance.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString CheckCompatibility
(
USkeletalMeshComponent* InSkelMeshComponent, |
NearestNeighborModelInstance.h | ||
virtual void Execute
(
float ModelWeight |
NearestNeighborModelInstance.h | ||
TArray< uint32 > GetNearestNeighborIds() |
NearestNeighborModelInstance.h | ||
virtual void Init
(
USkeletalMeshComponent* SkelMeshComponent |
NearestNeighborModelInstance.h | ||
void Reset() |
NearestNeighborModelInstance.h |
|
|
virtual int64 SetBoneTransforms
(
float* OutputBuffer, |
NearestNeighborModelInstance.h | ||
virtual bool SetupInputs() |
NearestNeighborModelInstance.h | ||
virtual void Tick
(
float DeltaTime, |
NearestNeighborModelInstance.h |