Navigation
API > API/Plugins > API/Plugins/MLDeformerFramework > API/Plugins/MLDeformerFramework/UMLDeformerMorphModel
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetMorphTargetsMinMaxWeights
(
const TArray< FFloatInterval >& MinMaxValues |
Set the minimum and maximum values that the morph targets weights have seen during training. | MLDeformerMorphModel.h | |
void SetMorphTargetsMinMaxWeights
(
const TArray< float >& MinValues, |
Set the minimum and maximum values that the morph targets weights have seen during training. | MLDeformerMorphModel.h |
|
SetMorphTargetsMinMaxWeights(const TArray< FFloatInterval > &)
Description
Set the minimum and maximum values that the morph targets weights have seen during training. We can clamp the network output weights within these ranges to try to make sure that the output doesn't go wild when we give inputs that are far outside of the range we have seen during training. The size of the array must equal the number of morph targets, or empty. In case it is empty, clamping will be ignored, even when enabled.
| Name | SetMorphTargetsMinMaxWeights |
| Type | function |
| Header File | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFramework/Public/MLDeformerMorphModel.h |
| Include Path | #include "MLDeformerMorphModel.h" |
| Source | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFramework/Private/MLDeformerMorphModel.cpp |
void SetMorphTargetsMinMaxWeights
(
const TArray < FFloatInterval > & MinMaxValues
)
Parameters
| Name | Remarks |
|---|---|
| MinMaxValues | The array of float intervals that contain the min and max values, one for each morph target. |
SetMorphTargetsMinMaxWeights(const TArray< float > &, const TArray< float > &)
Description
Set the minimum and maximum values that the morph targets weights have seen during training. We can clamp the network output weights within these ranges to try to make sure that the output doesn't go wild when we give inputs that are far outside of the range we have seen during training. The size of the array must equal the number of morph targets, or empty. In case it is empty, clamping will be ignored, even when enabled.
| Name | SetMorphTargetsMinMaxWeights |
| Type | function |
| Header File | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFramework/Public/MLDeformerMorphModel.h |
| Include Path | #include "MLDeformerMorphModel.h" |
| Source | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFramework/Private/MLDeformerMorphModel.cpp |
UFUNCTION (BlueprintCallable, Category="MLDeformerMorphModel")
void SetMorphTargetsMinMaxWeights
(
const TArray < float > & MinValues,
const TArray < float > & MaxValues
)
Parameters
| Name | Remarks |
|---|---|
| MinValues | The minimum weigth values, one for each morph target. |
| MaxValues | The maximum weight values, one for each morph target. |