Navigation
API > API/Runtime > API/Runtime/Engine
The weight data for a specific external morph set.
| Name | FExternalMorphSetWeights |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/ExternalMorphSet.h |
| Include Path | #include "Components/ExternalMorphSet.h" |
Syntax
struct FExternalMorphSetWeights
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActiveWeightThreshold | float | The treshold used to determine if a morph target is active or not. | Components/ExternalMorphSet.h | |
| Name | FName | The debug name. | Components/ExternalMorphSet.h | |
| NumActiveMorphTargets | int32 | The number of active morph targets. | Components/ExternalMorphSet.h | |
| Weights | TArray< float > | The weights, which can also be negative and go beyond 1.0 or -1.0. | Components/ExternalMorphSet.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void UpdateNumActiveMorphTargets() |
Update the number of active morph targets. | Components/ExternalMorphSet.h | |
void ZeroWeights
(
bool bZeroNumActiveMorphTargets |
Set all weights to 0. Optionally set the NumActiveMorphTargets to zero as well. | Components/ExternalMorphSet.h |