UMLDeformerComponent

The ML mesh deformer component.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

MLDeformer

Header

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

Include

#include "MLDeformerComponent.h"

Syntax

UCLASS(Blueprintable, ClassGroup=Component, BlueprintType, Meta=(BlueprintSpawnableComponent))
class UMLDeformerComponent : public UActorComponent

Remarks

The ML mesh deformer component. This works in combination with a MLDeformerAsset and SkeletalMeshComponent. The component will perform runtime inference using the network trained in the asset.

Constructors

Name Description

Public function

UMLDeformerComponent

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

UMLDeformerA...

 

GetDeformerAsset()

Public function Const

const FMLDef...

 

GetDeformerInstance()

Public function

FMLDeformerI...

 

GetDeformerInstance()

Public function Const

float

 

GetVertexDeltaMultiplier()

Public function

void

 

SetDeformerAsset

(
    UMLDeformerAsset* InDeformerAs...
)

Public function UFunction BlueprintCallable, Category

void

 

SetupComponent

(
    UMLDeformerAsset* InDeformerAs...,
    USkeletalMeshComponent* InSkel...
)

Configure MLDeformerComponent with an MLRigDeformerAsset (network + parameters).

Public function

void

 

SetVertexDeltaMultiplier

(
    float ScaleFactor
)

Overridden from UActorComponent

Name Description

Public function Virtual

void

 

Activate

(
    bool bReset
)

Activates the SceneComponent, should be overridden by native child classes.