engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
IMovieScenePlayer类 参考abstract

Interface for movie scene players Provides information for playback of a movie scene 更多...

#include <IMovieScenePlayer.h>

+ 类 IMovieScenePlayer 继承关系图:

Public 成员函数

virtual UObject * AsUObject ()
 Cast this player instance as a UObject if possible
 
virtual bool CanUpdateCameraCut () const
 Whether this player can update the camera cut
 
virtual UMovieSceneEntitySystemLinker * ConstructEntitySystemLinker ()
 Called to retrieve or construct an entity linker for the specified playback context
 
void DiscardEntityTokens ()
 Discard any tokens that relate to entity animation (ie sections or tracks) without restoring the values. 更多...
 
TArrayView< TWeakObjectPtr<> > FindBoundObjects (const FGuid &ObjectBindingID, FMovieSceneSequenceIDRef SequenceID)
 Locate objects bound to the specified object guid, in the specified sequence 更多...
 
TArrayView< TWeakObjectPtr<> > FindBoundObjects (const FMovieSceneEvaluationOperand &Operand)
 Locate objects bound to the specified sequence operand 更多...
 
FGuid FindCachedObjectId (UObject &InObject, FMovieSceneSequenceIDRef SequenceID)
 Attempt to find the object binding ID for the specified object, in the specified sequence 更多...
 
FGuid FindObjectId (UObject &InObject, FMovieSceneSequenceIDRef SequenceID)
 Attempt to find the object binding ID for the specified object, in the specified sequence 更多...
 
virtual FMovieSceneRootEvaluationTemplateInstance & GetEvaluationTemplate ()=0
 Access the evaluation template that we are playing back
 
virtual TArray< UObject * > GetEventContexts () const
 Access the event contexts for this movie scene player
 
virtual IMovieScenePlaybackClient * GetPlaybackClient ()
 Access the client in charge of playback 更多...
 
virtual UObject * GetPlaybackContext () const
 Access the playback context for this movie scene player
 
virtual EMovieScenePlayerStatus::Type GetPlaybackStatus () const =0
 
virtual FMovieSceneSpawnRegister & GetSpawnRegister ()
 Obtain an object responsible for managing movie scene spawnables
 
MOVIESCENE_API void InvalidateCachedData ()
 Invalidate any cached state contained within this player causing all entities to be forcibly re-linked and evaluated
 
virtual bool IsPreview () const
 Test whether this is a preview player or not. 更多...
 
virtual void NotifyBindingsChanged ()
 Called whenever any object bindings have changed
 
virtual void NotifyBindingUpdate (const FGuid &InGuid, FMovieSceneSequenceIDRef InSequenceID, TArrayView< TWeakObjectPtr<> > Objects)
 Called whenever an object binding has been resolved to give the player a chance to interact with the objects before they are animated 更多...
 
virtual void PostEvaluation (const FMovieSceneContext &Context)
 Called by the evaluation system after evaluation has occured
 
virtual void PreEvaluation (const FMovieSceneContext &Context)
 Called by the evaluation system when evaluation has just started.
 
virtual MOVIESCENE_API void ResolveBoundObjects (const FGuid &InBindingId, FMovieSceneSequenceID SequenceID, UMovieSceneSequence &Sequence, UObject *ResolutionContext, TArray< UObject *, TInlineAllocator< 1 > > &OutObjects) const
 Resolve objects bound to the specified binding ID 更多...
 
void RestorePreAnimatedState ()
 Restore all pre-animated state
 
FORCEINLINE void RestorePreAnimatedState (const FMovieSceneEvaluationKey &EntityKey)
 Restore any pre-animated state that has been cached from the specified entity (a section or, less commonly, a track) 更多...
 
void RestorePreAnimatedState (UClass *GeneratedClass)
 Restore any pre-animated state that has been cached for the specified class 更多...
 
void RestorePreAnimatedState (UObject &Object)
 Restore any pre-animated state that has been cached for the specified object 更多...
 
void RestorePreAnimatedState (UObject &Object, TFunctionRef< bool(FMovieSceneAnimTypeID)> InFilter)
 Restore any pre-animated state that has been cached for the specified object 更多...
 
FORCEINLINE void SaveGlobalPreAnimatedState (UObject &InObject, FMovieSceneAnimTypeID InTokenType, const IMovieScenePreAnimatedTokenProducer &InProducer)
 Attempt to save specific global state for the specified token state before it animates an object. 更多...
 
FORCEINLINE void SavePreAnimatedState (FMovieSceneAnimTypeID InTokenType, const IMovieScenePreAnimatedGlobalTokenProducer &InProducer)
 Attempt to save specific state for the specified token state before it mutates state. 更多...
 
FORCEINLINE void SavePreAnimatedState (FMovieSceneAnimTypeID InTokenType, const IMovieScenePreAnimatedGlobalTokenProducer &InProducer, FMovieSceneEvaluationKey CaptureEntity)
 Attempt to save specific state for the specified token state before it mutates state. 更多...
 
FORCEINLINE void SavePreAnimatedState (UObject &InObject, FMovieSceneAnimTypeID InTokenType, const IMovieScenePreAnimatedTokenProducer &InProducer)
 Attempt to save specific state for the specified token state before it animates an object. 更多...
 
FORCEINLINE void SavePreAnimatedState (UObject &InObject, FMovieSceneAnimTypeID InTokenType, const IMovieScenePreAnimatedTokenProducer &InProducer, FMovieSceneEvaluationKey CaptureEntity)
 Attempt to save specific state for the specified token state before it animates an object. 更多...
 
virtual void SetPlaybackStatus (EMovieScenePlayerStatus::Type InPlaybackStatus)=0
 
virtual void UpdateCameraCut (UObject *CameraObject, const EMovieSceneCameraCutParams &CameraCutParams)=0
 Updates the perspective viewports with the actor to view through 更多...
 
void UpdateCameraCut (UObject *CameraObject, UObject *UnlockIfCameraObject=nullptr, bool bJumpCut=false)
 Updates the perspective viewports with the actor to view through 更多...
 

Public 属性

TMap< FMovieSceneEvaluationOperand, FMovieSceneEvaluationOperand > BindingOverrides
 List of binding overrides to use for the sequence
 
TInlineValue< IMovieSceneMotionVectorSimulation > MotionVectorSimulation
 Motion Vector Simulation
 
FMovieScenePreAnimatedState PreAnimatedState
 Container that stores any per-animated state tokens

 
FMovieSceneEvaluationState State
 Evaluation state that stores global state to do with the playback operation
 

详细描述

Interface for movie scene players Provides information for playback of a movie scene

成员函数说明

◆ DiscardEntityTokens()

void IMovieScenePlayer::DiscardEntityTokens ( )
inline

Discard any tokens that relate to entity animation (ie sections or tracks) without restoring the values.

Any global pre-animated state tokens (that reset the animation when saving a map, for instance) will remain.

◆ FindBoundObjects() [1/2]

TArrayView< TWeakObjectPtr<> > IMovieScenePlayer::FindBoundObjects ( const FGuid &  ObjectBindingID,
FMovieSceneSequenceIDRef  SequenceID 
)
inline

Locate objects bound to the specified object guid, in the specified sequence

注解
: Objects lists are cached internally until they are invalidate.
参数
ObjectBindingIDThe object to resolve
SequenceIDID of the sequence to resolve for
返回
Iterable list of weak object pointers pertaining to the specified GUID

◆ FindBoundObjects() [2/2]

TArrayView< TWeakObjectPtr<> > IMovieScenePlayer::FindBoundObjects ( const FMovieSceneEvaluationOperand &  Operand)
inline

Locate objects bound to the specified sequence operand

注解
: Objects lists are cached internally until they are invalidate.
参数
OperandThe movie scene operand to resolve
返回
Iterable list of weak object pointers pertaining to the specified GUID

◆ FindCachedObjectId()

FGuid IMovieScenePlayer::FindCachedObjectId ( UObject &  InObject,
FMovieSceneSequenceIDRef  SequenceID 
)
inline

Attempt to find the object binding ID for the specified object, in the specified sequence

注解
: Does not clear the existing cache
参数
InObjectThe object to find a GUID for
SequenceIDThe sequence ID to search within
返回
The guid of the object's binding, or zero guid if it was not found

◆ FindObjectId()

FGuid IMovieScenePlayer::FindObjectId ( UObject &  InObject,
FMovieSceneSequenceIDRef  SequenceID 
)
inline

Attempt to find the object binding ID for the specified object, in the specified sequence

注解
: Will forcably resolve all out-of-date object mappings in the sequence
参数
InObjectThe object to find a GUID for
SequenceIDThe sequence ID to search within
返回
The guid of the object's binding, or zero guid if it was not found

◆ GetPlaybackClient()

virtual IMovieScenePlaybackClient * IMovieScenePlayer::GetPlaybackClient ( )
inlinevirtual

Access the client in charge of playback

返回
A pointer to the playback client, or nullptr if one is not available

被 UMovieSceneSequencePlayer 重载.

◆ GetPlaybackStatus()

virtual EMovieScenePlayerStatus::Type IMovieScenePlayer::GetPlaybackStatus ( ) const
pure virtual
返回
whether the player is currently playing, scrubbing, etc.

在 UMovieSceneSequencePlayer 内被实现.

◆ IsPreview()

virtual bool IMovieScenePlayer::IsPreview ( ) const
inlinevirtual

Test whether this is a preview player or not.

As such, playback range becomes insignificant for things like spawnables

◆ NotifyBindingUpdate()

virtual void IMovieScenePlayer::NotifyBindingUpdate ( const FGuid &  InGuid,
FMovieSceneSequenceIDRef  InSequenceID,
TArrayView< TWeakObjectPtr<> >  Objects 
)
inlinevirtual

Called whenever an object binding has been resolved to give the player a chance to interact with the objects before they are animated

参数
InGuidThe guid of the object binding that has been resolved
InSequenceIDThe ID of the sequence in which the object binding resides
ObjectsThe array of objects that were resolved

◆ ResolveBoundObjects()

virtual MOVIESCENE_API void IMovieScenePlayer::ResolveBoundObjects ( const FGuid &  InBindingId,
FMovieSceneSequenceID  SequenceID,
UMovieSceneSequence &  Sequence,
UObject *  ResolutionContext,
TArray< UObject *, TInlineAllocator< 1 > > &  OutObjects 
) const
virtual

Resolve objects bound to the specified binding ID

参数
InBindingIdThe ID relating to the object(s) to resolve
OutObjectsContainer to populate with the bound objects

被 ULevelSequencePlayer , 以及 UMovieSceneSequencePlayer 重载.

◆ RestorePreAnimatedState() [1/4]

FORCEINLINE void IMovieScenePlayer::RestorePreAnimatedState ( const FMovieSceneEvaluationKey &  EntityKey)
inline

Restore any pre-animated state that has been cached from the specified entity (a section or, less commonly, a track)

参数
EntityKeyThe key to the entity that we want to restore state for (typically retrieved from PersistentData.GetSectionKey())

◆ RestorePreAnimatedState() [2/4]

void IMovieScenePlayer::RestorePreAnimatedState ( UClass *  GeneratedClass)
inline

Restore any pre-animated state that has been cached for the specified class

参数
GeneratedClassThe class of the object to restore

◆ RestorePreAnimatedState() [3/4]

void IMovieScenePlayer::RestorePreAnimatedState ( UObject &  Object)
inline

Restore any pre-animated state that has been cached for the specified object

参数
ObjectThe object to restore

◆ RestorePreAnimatedState() [4/4]

void IMovieScenePlayer::RestorePreAnimatedState ( UObject &  Object,
TFunctionRef< bool(FMovieSceneAnimTypeID)>  InFilter 
)
inline

Restore any pre-animated state that has been cached for the specified object

参数
ObjectThe object to restore
InFilterFilter that defines whether specific anim types should be restored

◆ SaveGlobalPreAnimatedState()

FORCEINLINE void IMovieScenePlayer::SaveGlobalPreAnimatedState ( UObject &  InObject,
FMovieSceneAnimTypeID  InTokenType,
const IMovieScenePreAnimatedTokenProducer &  InProducer 
)
inline

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

注解
: Will only call IMovieSceneExecutionToken::CacheExistingState if no state has been previously cached for the specified token type
参数
InObjectThe object to cache state for
InTokenTypeUnique marker that identifies the originating token type
InProducerProducer implementation that defines how to create the preanimated token, if it doesn't already exist

◆ SavePreAnimatedState() [1/4]

FORCEINLINE void IMovieScenePlayer::SavePreAnimatedState ( FMovieSceneAnimTypeID  InTokenType,
const IMovieScenePreAnimatedGlobalTokenProducer &  InProducer 
)
inline

Attempt to save specific state for the specified token state before it mutates state.

注解
: Will only call IMovieSceneExecutionToken::CacheExistingState if no state has been previously cached for the specified token type
参数
InTokenTypeUnique marker that identifies the originating token type
InProducerProducer implementation that defines how to create the preanimated token, if it doesn't already exist

◆ SavePreAnimatedState() [2/4]

FORCEINLINE void IMovieScenePlayer::SavePreAnimatedState ( FMovieSceneAnimTypeID  InTokenType,
const IMovieScenePreAnimatedGlobalTokenProducer &  InProducer,
FMovieSceneEvaluationKey  CaptureEntity 
)
inline

Attempt to save specific state for the specified token state before it mutates state.

注解
: Will only call IMovieSceneExecutionToken::CacheExistingState if no state has been previously cached for the specified token type
参数
InTokenTypeUnique marker that identifies the originating token type
InProducerProducer implementation that defines how to create the preanimated token, if it doesn't already exist
CaptureEntityThe entity key to associate this animated state with

◆ SavePreAnimatedState() [3/4]

FORCEINLINE void IMovieScenePlayer::SavePreAnimatedState ( UObject &  InObject,
FMovieSceneAnimTypeID  InTokenType,
const IMovieScenePreAnimatedTokenProducer &  InProducer 
)
inline

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

注解
: Will only call IMovieSceneExecutionToken::CacheExistingState if no state has been previously cached for the specified token type
参数
InObjectThe object to cache state for
InTokenTypeUnique marker that identifies the originating token type
InProducerProducer implementation that defines how to create the preanimated token, if it doesn't already exist

◆ SavePreAnimatedState() [4/4]

FORCEINLINE void IMovieScenePlayer::SavePreAnimatedState ( UObject &  InObject,
FMovieSceneAnimTypeID  InTokenType,
const IMovieScenePreAnimatedTokenProducer &  InProducer,
FMovieSceneEvaluationKey  CaptureEntity 
)
inline

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

注解
: Will only call IMovieSceneExecutionToken::CacheExistingState if no state has been previously cached for the specified token type
参数
InObjectThe object to cache state for
InTokenTypeUnique marker that identifies the originating token type
InProducerProducer implementation that defines how to create the preanimated token, if it doesn't already exist
CaptureEntityThe entity key to associate this animated state with

◆ SetPlaybackStatus()

virtual void IMovieScenePlayer::SetPlaybackStatus ( EMovieScenePlayerStatus::Type  InPlaybackStatus)
pure virtual
参数
PlaybackStatusThe playback status to set

在 UMovieSceneSequencePlayer 内被实现.

◆ UpdateCameraCut() [1/2]

virtual void IMovieScenePlayer::UpdateCameraCut ( UObject *  CameraObject,
const EMovieSceneCameraCutParams &  CameraCutParams 
)
pure virtual

Updates the perspective viewports with the actor to view through

参数
CameraObjectThe object, probably a camera, that the viewports should lock to
CameraCutParamsThe parameters for this camera cut.

在 ULevelSequencePlayer , 以及 UMovieSceneSequencePlayer 内被实现.

◆ UpdateCameraCut() [2/2]

void IMovieScenePlayer::UpdateCameraCut ( UObject *  CameraObject,
UObject *  UnlockIfCameraObject = nullptr,
bool  bJumpCut = false 
)
inline

Updates the perspective viewports with the actor to view through

参数
CameraObjectThe object, probably a camera, that the viewports should lock to
UnlockIfCameraObjectIf this is not nullptr, release actor lock only if currently locked to this object.
bJumpCutWhether this is a jump cut, ie. the cut jumps from one shot to another shot

该类的文档由以下文件生成: