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

#include <MovieSceneSequenceWeights.h>

Public Member Functions

MOVIESCENE_API FSequenceWeights (UMovieSceneEntitySystemLinker *InLinker, FRootInstanceHandle InRootInstanceHandle)
 
MOVIESCENE_API ~FSequenceWeights ()
 
MOVIESCENE_API void SetWeight (FMovieSceneSequenceID InSequenceID, double Weight=1.0)
 
MOVIESCENE_API void SetWeights (const TSortedMap< FMovieSceneSequenceID, double > &Weights)
 
MOVIESCENE_API void RemoveWeight (FMovieSceneSequenceID InSequenceID)
 

Detailed Description

Container class for keeping track of externally created entities for providing dynamic sequence weights

Constructor & Destructor Documentation

◆ FSequenceWeights()

UE::MovieScene::FSequenceWeights::FSequenceWeights ( UMovieSceneEntitySystemLinker InLinker,
FRootInstanceHandle  InRootInstanceHandle 
)

◆ ~FSequenceWeights()

UE::MovieScene::FSequenceWeights::~FSequenceWeights ( )

Member Function Documentation

◆ RemoveWeight()

void UE::MovieScene::FSequenceWeights::RemoveWeight ( FMovieSceneSequenceID  InSequenceID)

Remove a previously allocated weight for the specified sequence ID

◆ SetWeight()

void UE::MovieScene::FSequenceWeights::SetWeight ( FMovieSceneSequenceID  InSequenceID,
double  Weight = 1.0 
)

Set the weight of the specifieid sequence ID by creating a new HierarchicalEasingProvider entity and assigning its weight

Parameters
InSequenceIDThe sequence ID to assign a weight to
WeightThe weight to assign. This is multiplied with all other weights contributing to this sequence

◆ SetWeights()

void UE::MovieScene::FSequenceWeights::SetWeights ( const TSortedMap< FMovieSceneSequenceID, double > &  Weights)

Set the weights of the specifieid sequence IDs by creating new HierarchicalEasingProvider entities and assigning their weights

Parameters
WeightsMap containing all desired sequence weights organized by their sequence ID

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