![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ExternalMorphSet.h>
Public Member Functions | |
| ENGINE_API void | UpdateNumActiveMorphTargets () |
| ENGINE_API void | ZeroWeights (bool bZeroNumActiveMorphTargets=true) |
Public Attributes | |
| FName | Name = FName(TEXT("Unknown ExternalMorphSetWeights")) |
| TArray< float > | Weights |
| int32 | NumActiveMorphTargets = 0 |
| float | ActiveWeightThreshold = 0.001f |
The weight data for a specific external morph set.
| void FExternalMorphSetWeights::UpdateNumActiveMorphTargets | ( | ) |
Update the number of active morph targets.
Set all weights to 0. Optionally set the NumActiveMorphTargets to zero as well.
| float FExternalMorphSetWeights::ActiveWeightThreshold = 0.001f |
The treshold used to determine if a morph target is active or not. Any weight equal to or above this value is seen as active morph target.
| FName FExternalMorphSetWeights::Name = FName(TEXT("Unknown ExternalMorphSetWeights")) |
The debug name.
| int32 FExternalMorphSetWeights::NumActiveMorphTargets = 0 |
The number of active morph targets.
The weights, which can also be negative and go beyond 1.0 or -1.0.