engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
IMovieScenePreAnimatedTokenProducer结构体 参考abstract

Type required for production of pre-animated state tokens. 更多...

#include <MovieSceneExecutionToken.h>

+ 类 IMovieScenePreAnimatedTokenProducer 继承关系图:

Public 成员函数

virtual IMovieScenePreAnimatedTokenPtr CacheExistingState (UObject &Object) const =0
 Produce a token that can be used to return the specified object back to its current state 更多...
 
virtual void InitializeObjectForAnimation (UObject &Object) const
 Perform any initial set up required to animate the specified object 更多...
 

详细描述

Type required for production of pre-animated state tokens.

Implemented as a type rather than a callback to ensure efficient construction (these types are often constructed, but rarely utilized)

成员函数说明

◆ CacheExistingState()

virtual IMovieScenePreAnimatedTokenPtr IMovieScenePreAnimatedTokenProducer::CacheExistingState ( UObject &  Object) const
pure virtual

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

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

在 FMovieSceneRemoveInitialValueTokenProducer, FStatelessPreAnimatedTokenProducer, TStatelessPreAnimatedTokenProducer< TokenType > , 以及 TForwardingPreAnimatedTokenProducer< TokenType > 内被实现.

◆ InitializeObjectForAnimation()

virtual void IMovieScenePreAnimatedTokenProducer::InitializeObjectForAnimation ( UObject &  Object) const
inlinevirtual

Perform any initial set up required to animate the specified object

注解
Only ever called when Object is in an unanimated state, as according to the AnimTypeID that this producer is operating on.
参数
ObjectThe object to initialize

该结构体的文档由以下文件生成: