Navigation
API > API/Plugins > API/Plugins/DetailPoseModel
The detail pose model for the ML Deformer. This model is inherited from the Neural Morph Model, but adds additional morph targets on top of this. The additional morph targets that are generated are morph targets that bring it to the ground truth as seen during training at specific poses. These special poses are called Detail Poses. We basically look at the deltas that we predict using the neural morph model, and put the remaining error between that and the ground truth into the morph target at the given pose. There can be multiple detail poses, and each of them generates a new morph target.
| Name | UDetailPoseModel |
| Type | class |
| Header File | /Engine/Plugins/Experimental/Animation/MLDeformer/DetailPoseModel/Source/DetailPoseModel/Public/DetailPoseModel.h |
| Include Path | #include "DetailPoseModel.h" |
Syntax
UCLASS ()
class UDetailPoseModel : public UNeuralMorphModel
Inheritance Hierarchy
- UMLDeformerModel → UMLDeformerGeomCacheModel → UMLDeformerMorphModel → UNeuralMorphModel → UDetailPoseModel
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UDetailPoseModel
(
const FObjectInitializer& ObjectInitializer |
DetailPoseModel.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BlendSpeed | float | The speed at which the detail poses are blend in. | DetailPoseModel.h |
|
| bUseRBF | bool | Use RBF (Radial Basis Functions) to interpolate? This will produce higher quality blends between detail poses, at the cost of runtime CPU performance. | DetailPoseModel.h |
|
| DetailPoses | TArray< FDetailPoseModelDetailPose > | The detail poses. This contains the pose values we use at runtime. | DetailPoseModel.h | |
| DetailPosesAnimSequence | TSoftObjectPtr< UAnimSequence > | For certain poses the ML Deformer might not reconstruct important details such as specific cloth folding patterns. | DetailPoseModel.h |
|
| DetailPosesGeomCache | TSoftObjectPtr< UGeometryCache > | For certain poses the ML Deformer might not reconstruct important details such as specific cloth folding patterns. | DetailPoseModel.h |
|
| RBFRange | float | The range to blend detail poses. | DetailPoseModel.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMLDeformerInputInfo * CreateInputInfo() |
DetailPoseModel.h | ||
UMLDeformerModelInstance * CreateModelInstance
(
UMLDeformerComponent* Component |
DetailPoseModel.h | ||
void GetAssetRegistryTags
(
FAssetRegistryTagsContext Context |
DetailPoseModel.h | ||
float GetBlendSpeed() |
DetailPoseModel.h | ||
const TArray< FDetailPoseModelDetailPose > & GetDetailPoses () |
DetailPoseModel.h | ||
| DetailPoseModel.h | |||
UAnimSequence * GetDetailPosesAnimSequence() |
DetailPoseModel.h | ||
UGeometryCache * GetDetailPosesGeomCache() |
DetailPoseModel.h | ||
FString GetDisplayName() |
DetailPoseModel.h | ||
float GetRBFRange() |
DetailPoseModel.h | ||
bool GetUseRBFBlending() |
DetailPoseModel.h | ||
void Serialize
(
FArchive& Archive |
DetailPoseModel.h | ||
void SetBlendSpeed
(
float Speed |
DetailPoseModel.h | ||
void SetRBFRange
(
float Range |
DetailPoseModel.h | ||
void SetUseRBFBlending
(
bool bUse |
DetailPoseModel.h | ||
bool SupportsGlobalModeOnly() |
DetailPoseModel.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FName GetBlendSpeedPropertyName() |
DetailPoseModel.h | ||
static FName GetDetailPosesAnimSequencePropertyName() |
DetailPoseModel.h | ||
static FName GetDetailPosesGeomCachePropertyName() |
DetailPoseModel.h | ||
static FName GetRBFRangePropertyName() |
DetailPoseModel.h | ||
static FName GetUseRBFBlendingPropertyName() |
DetailPoseModel.h |