IMovieScenePlayer::SavePreAnimatedState

Attempt to save specific state for the specified token state before it animates an object.

Windows
MacOS
Linux

References

Module

MovieScene

Header

/Engine/Source/Runtime/MovieScene/Public/IMovieScenePlayer.h

Include

#include "IMovieScenePlayer.h"

Syntax

void SavePreAnimatedState
(
    UObject & InObject,
    FMovieSceneAnimTypeID InTokenType,
    const IMovieScenePreAnimatedTokenProducer & InProducer
)

Remarks

Attempt to save specific state for the specified token state before it animates an object. @note Will only call IMovieSceneExecutionToken::CacheExistingState if no state has been previously cached for the specified token type

Parameters

Parameter

Description

InObject

The object to cache state for

InTokenType

Unique marker that identifies the originating token type

InProducer

Producer implementation that defines how to create the preanimated token, if it doesn't already exist

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