TMovieSceneSavedTokens::RestoreEntity

Restore any pre animated state for the specified entity key, based on an optional filter

Windows
MacOS
Linux

References

Module

MovieScene

Header

/Engine/Source/Runtime/MovieScene/Public/Evaluation/MovieScenePreAnimatedState.h

Include

#include "Evaluation/MovieScenePreAnimatedState.h"

Source

/Engine/Source/Runtime/MovieScene/Private/Evaluation/MovieScenePreAnimatedState.cpp

Syntax

bool RestoreEntity
(
    IMovieScenePlayer & Player,
    FMovieSceneEvaluationKey EntityKey,
    TOptional< TFunctionRef< bool)>> InFilter
)

Remarks

Restore any pre animated state for the specified entity key, based on an optional filter

Returns

True if the entity's pre-animated state was entirely restored, false if some state remains (ie, if it failed the filter)

Parameters

Parameter

Description

Player

The movie scene player responsible for playing back the sequence

EntityKey

A key for the specific entity (section or track) to restore data for

InFilter

(optional) Filter that can optionally include/exclude specific types of animation

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss