/Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFramework/Public/MLDeformerModelInstance.h
An instance of the ML Deformer model. The ML Deformer model contains shared data, while this instance contains data unique to the actor it is being applied to. So if you have 1 ML Deformer model, applied to 100 enemy actors, you will get 100 ML Deformer Model Instance objects. The model instance is created and managed by the ML Deformer component. The main task of the model instance is to feed the neural network with the right input values and run the neural network inference at runtime, and possibly do something with the output.
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)() class UMLDeformerModelInstance : public [UObject](API\Runtime\CoreUObject\UObject\UObject)
TArray< int32 >
AssetBonesToSkelMeshMappings
Maps the ML deformer asset bone index to a skeletal mesh component bone index.
bool
bHasPostInitialized
Has this instance had a successful UMLDeformerModel::PostMLDeformerComponentInit call?
bool
bIsCompatible
Are the deformer asset and the used skeletal mesh component compatible?
TArray< FTransf...
BoneTransforms
A temp array of bone transforms.
FString
ErrorText
The compatibility error text, in case bIsCompatible is false.
TObjectPtr< UML...
Model
The ML Deformer model that this is an instance of.
FRenderCommandF...
RenderCommandFence
The fence that let's us wait for all render commands to finish, before we continue.
TObjectPtr<USk...
SkeletalMeshComponent
The skeletal mesh component we work with. This is mainly used for compatibility checks.
TArray< FTransf...
TrainingBoneTransforms
The cached current local space bone transforms for the current frame.