UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FExternalMorphSetWeights Struct Reference

#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< floatWeights
 
int32 NumActiveMorphTargets = 0
 
float ActiveWeightThreshold = 0.001f
 

Detailed Description

The weight data for a specific external morph set.

Member Function Documentation

◆ UpdateNumActiveMorphTargets()

void FExternalMorphSetWeights::UpdateNumActiveMorphTargets ( )

Update the number of active morph targets.

◆ ZeroWeights()

void FExternalMorphSetWeights::ZeroWeights ( bool  bZeroNumActiveMorphTargets = true)

Set all weights to 0. Optionally set the NumActiveMorphTargets to zero as well.

Member Data Documentation

◆ ActiveWeightThreshold

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.

◆ Name

FName FExternalMorphSetWeights::Name = FName(TEXT("Unknown ExternalMorphSetWeights"))

The debug name.

◆ NumActiveMorphTargets

int32 FExternalMorphSetWeights::NumActiveMorphTargets = 0

The number of active morph targets.

◆ Weights

TArray<float> FExternalMorphSetWeights::Weights

The weights, which can also be negative and go beyond 1.0 or -1.0.


The documentation for this struct was generated from the following files: