UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FStatelessPreAnimatedTokenProducer Struct Reference

#include <MovieSceneExecutionToken.h>

+ Inheritance diagram for FStatelessPreAnimatedTokenProducer:

Classes

struct  FToken
 

Public Types

typedef void(* StaticFunction) (UObject &Object, const UE::MovieScene::FRestoreStateParams &Params)
 

Public Member Functions

 FStatelessPreAnimatedTokenProducer (StaticFunction InFunction)
 
virtual IMovieScenePreAnimatedTokenPtr CacheExistingState (UObject &Object) const override
 
- Public Member Functions inherited from IMovieScenePreAnimatedTokenProducer
virtual ~IMovieScenePreAnimatedTokenProducer ()
 
virtual void InitializeObjectForAnimation (UObject &Object) const
 

Public Attributes

StaticFunction Function
 

Detailed Description

Stateless pre-animated state token producer that simply calls a static function as the token

Member Typedef Documentation

◆ StaticFunction

typedef void(* FStatelessPreAnimatedTokenProducer::StaticFunction) (UObject &Object, const UE::MovieScene::FRestoreStateParams &Params)

Constructor & Destructor Documentation

◆ FStatelessPreAnimatedTokenProducer()

FStatelessPreAnimatedTokenProducer::FStatelessPreAnimatedTokenProducer ( StaticFunction  InFunction)
inline

Member Function Documentation

◆ CacheExistingState()

virtual IMovieScenePreAnimatedTokenPtr FStatelessPreAnimatedTokenProducer::CacheExistingState ( UObject Object) const
inlineoverridevirtual

Produce a token that can be used to return the specified object back to its current state

Note
Under some circumstances, the object may already be animated (for instance, after something has animated the object, but didn't restore state)
Parameters
ObjectThe object to initialize
Returns
A valid pre animated token that will restore this object back to its current state

Implements IMovieScenePreAnimatedTokenProducer.

Member Data Documentation

◆ Function

StaticFunction FStatelessPreAnimatedTokenProducer::Function

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