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 ()
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 | AddMorphSets
(
int32 NumToAdd |
||
| void | BeginDestroy () |
||
| bool | |||
| void | ClampMorphTargetWeights
(
TArrayView< float > WeightsArray |
Perform the actual weight clamping to the values as set inside the MorphTargetsMinMaxWeights member. | |
| void | |||
| UMLDeformerModelInstance * | CreateModelInstance
(
UMLDeformerComponent* Component |
||
| bool | |||
| bool | |||
| void | |||
| FName | |||
| 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 | |||
| FName | |||
| 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. | ||
| float | |||
| FName | |||
| 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 > | GetMorphTargetSet
(
int32 LOD |
||
| TSharedPtr< FExternalMorphSet > | Get the morph target set. | ||
| const TArray< FFloatInterval > & | Get the min and max morph target weight values that we seen on the output of the training data set. | ||
| int32 | GetNumActiveMorphs
(
int32 QualityLevel |
||
| int32 | GetNumLODs () |
Get the number of LOD levels that we have deltas for. | |
| int32 | GetNumMorphTargets
(
int32 LOD |
||
| 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 | HasRawMorph () |
||
| bool | Check whether clamping of morph target weights is enabled. | ||
| bool | |||
| bool | |||
| void | SetClampMorphTargetsWeights
(
bool bEnabled |
||
| 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 | SetMorphTargetDeltaThreshold
(
float Threshold |
||
| void | SetMorphTargetError
(
int32 MorphIndex, |
Set the estimated error that disabling a specific morph target would introduce. | |
| void | SetMorphTargetErrorTolerance
(
float Tolerance |
||
| 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 | SetMorphTargetsMinMaxWeights
(
const TArray< FFloatInterval >& MinMaxValues |
Set the minimum and maximum values that the morph targets weights have seen during training. | |
| void | SetMorphTargetsMinMaxWeights
(
const TArray< float >& MinValues, |
Set the minimum and maximum values that the morph targets weights have seen during training. | |
| void | SetWeightMask
(
EMLDeformerMaskChannel Channel |
||
| void | |||
| void | Update the statistics properties of this model. |
Overridden from UMLDeformerGeomCacheModel
| Type | Name | Description | |
|---|---|---|---|
| void | GetAssetRegistryTags
(
TArray< FAssetRegistryTag >& OutTags |
||
| void | GetAssetRegistryTags
(
FAssetRegistryTagsContext Context |
||
| void | PostLoad () |
||
| void |