UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::MovieScene::FAccumulatedWeightedValue Struct Reference

#include <MovieSceneDecompositionQuery.h>

Public Member Functions

FORCENOINLINE double Normalize () const
 
FORCENOINLINE FAccumulatedWeightedValueAccumulateThis (const FWeightedValue &Other)
 
FORCENOINLINE FAccumulatedWeightedValueAccumulateThis (const FAccumulatedWeightedValue &Other)
 
FORCENOINLINE FAccumulatedWeightedValue Accumulate (const FWeightedValue &Other) const
 
FORCENOINLINE FAccumulatedWeightedValue Accumulate (const FAccumulatedWeightedValue &Other) const
 

Public Attributes

double Total = 0.f
 
float TotalWeight = 0.f
 

Detailed Description

Holds an accumulation of weighted values

Member Function Documentation

◆ Accumulate() [1/2]

FORCENOINLINE FAccumulatedWeightedValue UE::MovieScene::FAccumulatedWeightedValue::Accumulate ( const FAccumulatedWeightedValue Other) const
inline

Accumulates values

◆ Accumulate() [2/2]

FORCENOINLINE FAccumulatedWeightedValue UE::MovieScene::FAccumulatedWeightedValue::Accumulate ( const FWeightedValue Other) const
inline

Accumulates values

◆ AccumulateThis() [1/2]

FORCENOINLINE FAccumulatedWeightedValue & UE::MovieScene::FAccumulatedWeightedValue::AccumulateThis ( const FAccumulatedWeightedValue Other)
inline

Accumulates more values into this value

◆ AccumulateThis() [2/2]

FORCENOINLINE FAccumulatedWeightedValue & UE::MovieScene::FAccumulatedWeightedValue::AccumulateThis ( const FWeightedValue Other)
inline

Accumulates more values into this value

◆ Normalize()

FORCENOINLINE double UE::MovieScene::FAccumulatedWeightedValue::Normalize ( ) const
inline

Normalizes the total value by the total weight

Member Data Documentation

◆ Total

double UE::MovieScene::FAccumulatedWeightedValue::Total = 0.f

Accumulated value

◆ TotalWeight

float UE::MovieScene::FAccumulatedWeightedValue::TotalWeight = 0.f

The total weight of all accumulated values


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