Navigation
API > API/Plugins > API/Plugins/MLDeformerFramework
Inheritance Hierarchy
- UMLDeformerModel
- UMLDeformerGeomCacheModel
- UMLDeformerMorphModel
- UNearestNeighborModel
- UNeuralMorphModel
References
| Module | MLDeformerFramework |
| Header | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFramework/Public/MLDeformerMorphModel.h |
| Include | #include "MLDeformerMorphModel.h" |
Syntax
UCLASS&40;&41;
class UMLDeformerMorphModel : public UMLDeformerGeomCacheModel
Remarks
The morph model base class. This is the base class for models that generate and drive morph targets. Use this in combination with UMLDeformerMorphModelInstance or inherited classes.
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMLDeformerMorphModel
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
||
| bool | |||
| UMLDeformerModelInstance * | CreateModelInstance
(
UMLDeformerComponent* Component |
||
| bool | |||
| uint64 | |||
| FName | |||
| bool | |||
| FName | |||
| bool | |||
| FName | |||
| EMLDeformerMaskChannel | |||
| FName | |||
| float | |||
| float | |||
| FName | |||
| float | |||
| FName | Get property names. | ||
| const TArray< FVector3f > & | Get the morph target delta vectors array. | ||
| int32 | GetMorphTargetDeltaStartIndex
(
int32 MorphTargetIndex |
Get the start index into the array of deltas (vectors3's), for a given morph target. | |
| float | GetMorphTargetError
(
int32 MorphIndex |
Get the estimated error that disabling a specific morph target would introduce. | |
| TArrayView< const int32 > | Get the array of morph target indices, sorted by error value, from largest to smallest error. | ||
| TArrayView< const float > | Get the morph target error values. | ||
| TArrayView< const float > | Get the estimated maximum weight values that the morph targets will ever have. | ||
| TSharedPtr< FExternalMorphSet > | Get the morph target set. | ||
| int32 | GetNumActiveMorphs
(
int32 QualityLevel |
Get the number of active morph targets for a given quality level. | |
| int32 | |||
| FName | |||
| TArrayView< const FMLDeformerMorphModelQualityLevel > | Get the quality levels. | ||
| TArray< FMLDeformerMorphModelQualityLevel > & | Get the quality levels, with access to modify the quality levels. | ||
| FName | |||
| uint64 | |||
| FName | |||
| bool | |||
| bool | |||
| void | PostLoad () |
||
| void | SetIncludeMorphTargetNormals
(
bool bInclude |
||
| void | SetInvertMaskChannel
(
bool bInvert |
||
| void | SetMaskChannel
(
EMLDeformerMaskChannel Channel |
||
| void | SetMorphCompressionlevel
(
float Tolerance |
||
| void | SetMorphDeltaZeroThreshold
(
float Threshold |
||
| void | SetMorphTargetDeltaFloats
(
const TArray< float >& Deltas |
Set the per vertex deltas, as a set of floats. | |
| void | SetMorphTargetDeltas
(
const TArray< FVector3f >& Deltas |
Set the morph target model deltas as an array of 3D vectors. | |
| void | SetMorphTargetError
(
int32 MorphIndex, |
Set the estimated error that disabling a specific morph target would introduce. | |
| void | SetMorphTargetsErrorOrder
(
const TArray< int32 >& MorphTargetOrder, |
Set the order of importance during LOD, for the morph targets. | |
| void | SetMorphTargetsMaxWeights
(
const TArray< float >& MaxWeights |
Set the maximum weights for each morph target when we pass the training inputs into the trained neural network. | |
| void | |||
| void | Update the statistics properties of this model. |
Overridden from UMLDeformerGeomCacheModel
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| float | Please use GetMorphDeltaZeroThreshold instead. | ||
| FName | Please use GetMorphDeltaZeroThresholdPropertyName instead. | ||
| float | Please use GetMorphCompressionLevel instead. | ||
| FName | Please use GetMorphCompressionLevelPropertyName instead. | ||
| void | SetMorphTargetDeltaThreshold
(
float Threshold |
Please use SetMorphDeltaZeroThreshold instead. | |
| void | SetMorphTargetErrorTolerance
(
float Tolerance |
Please use SetMorphCompressionLevel instead. | |
| void | SetWeightMask
(
EMLDeformerMaskChannel Channel |
Use SetMaskChannel instead. |