FMLDeformerInstance

This is an instance of the ML deformer, used during runtime.

Choose your operating system:

Windows

macOS

Linux

References

Module

MLDeformer

Header

/Engine/Plugins/Experimental/MLDeformer/Source/MLDeformer/Public/MLDeformerInstance.h

Include

#include "MLDeformerInstance.h"

Syntax

class FMLDeformerInstance

Remarks

This is an instance of the ML deformer, used during runtime. There will be one such instance per actor.

Functions

Name Description

Public function Const

const TArray...

 

GetBoneTransforms()

Get the current component space bone transforms that we grabbed from the skeletal mesh component.

Public function Const

const FStrin...

 

GetCompatibilityErrorText()

Get the compatibility error text.

Public function Const

USkeletalMes...

 

GetSkeletalMeshComponent()

Get the skeletal mesh component we're working with.

Public function

void

 

Init

(
    UMLDeformerAsset* Asset,
    USkeletalMeshComponent* SkelMe...
)

Initialize this instance for a given deformer and skeletal mesh component.

Public function Const

bool

 

IsCompatible()

Is the deformer asset used compatible with the skeletal mesh component used during the Init call?

Public function

void

 

Update()

Update the deformer instance.

Public function

void

 

UpdateCompatibilityStatus()

Update the compatibility status, as returned by IsCompatible() and GetCompatibilityErrorText().