Dear Friends at Epic,
I imagine there’s a reason this has not been done already, but is there any way you could make a GetMorphTarget() function to compliment SetMorphTarget?
something like
/** Obtain Current Value for Morph Target [0,1] */
UFUNCTION(BlueprintCallable, Category="Animation")
float GetMorphTarget(FName MorphTargetName);
im referring to compliment of these functions:
SkeletalMeshComponent.h
/**
* Set Morph Target with Name and Value(0-1)
*/
UFUNCTION(BlueprintCallable, Category="Animation")
void SetMorphTarget(FName MorphTargetName, float Value);
/**
* Clear all Morph Target that are set to this mesh
*/
UFUNCTION(BlueprintCallable, Category="Animation")
void ClearMorphTargets();
Currently I am reduced to having to save and track the values I set through an additional data structure, which is inherently error prone and requires upkeep as change are made
Does the functionality I’m requesting already exist?
Thanks!
Rama