Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/UMovieSceneSequencePlayer > API/Runtime/MovieScene/UMovieSceneSequencePlayer/SetWeight
References
| Module | MovieScene |
| Header | /Engine/Source/Runtime/MovieScene/Public/MovieSceneSequencePlayer.h |
| Include | #include "MovieSceneSequencePlayer.h" |
| Source | /Engine/Source/Runtime/MovieScene/Private/MovieSceneSequencePlayer.cpp |
void SetWeight
&40;
double InWeight,
FMovieSceneSequenceID SequenceID
&41;
Remarks
- Set a manual weight to be multiplied with all blendable elements within the specified sequence
-
It is recommended that a weight between 0 and 1 is supplied, though this is not enforced
-
It is recommended that either FMovieSceneSequencePlaybackSettings::DynamicWeighting should be true for this player or the asset it's playing back should be set to enable dynamic weight to avoid undesirable behavior
Parameters
| Name | Description |
|---|---|
| InWeight | The weight to suuply to all elements in this sequence |