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

Abstract base class for movie scene animations (C++ version). 更多...

#include <MovieSceneSequence.h>

+ 类 UMovieSceneSequence 继承关系图:

Public 成员函数

virtual bool AllowsSpawnableObjects () const
 Whether objects can be spawned at run-time. 更多...
 
bool AreParentContextsSignificant () const
 true if the result of GetParentObject is significant in object resolution for LocateBoundObjects.
 
virtual MOVIESCENE_API void BeginDestroy () override
 Called before destroying the object. 更多...
 
virtual void BindPossessableObject (const FGuid &ObjectId, UObject &PossessedObject, UObject *Context)
 Called when Sequencer has created an object binding for a possessable object 更多...
 
virtual bool CanAnimateObject (UObject &InObject) const
 Specifies whether this sequence can animate the object in question (either as a spawnable or possessable) 更多...
 
virtual bool CanPossessObject (UObject &Object, UObject *InPlaybackContext) const
 Check whether the given object can be possessed by this animation. 更多...
 
virtual bool CanRebindPossessable (const FMovieScenePossessable &InPossessable) const
 Specifies whether this sequence allows rebinding of the specified possessable 更多...
 
virtual UObject * CreateDirectorInstance (IMovieScenePlayer &Player)
 Called to retrieve or construct a director instance to be used for the specified player
 
virtual FGuid CreatePossessable (UObject *ObjectToPossess)
 Called to add a new possessable for the specified object
 
virtual FGuid CreateSpawnable (UObject *ObjectToSpawn)
 Called to add a new spawnable for the specified object
 
MOVIESCENE_API FMovieSceneObjectBindingID FindBindingByTag (FName InBindingName) const
 Find the first object binding ID associated with the specified tag name (set up through RMB->Expose on Object bindings from within sequencer)
 
MOVIESCENE_API const TArray< FMovieSceneObjectBindingID > & FindBindingsByTag (FName InBindingName) const
 Find all object binding IDs associated with the specified tag name (set up through RMB->Expose on Object bindings from within sequencer)
 
MOVIESCENE_API FGuid FindPossessableObjectId (UObject &Object, UObject *Context) const
 Attempt to find the guid relating to the specified object 更多...
 
virtual void GatherExpiredObjects (const FMovieSceneObjectCache &InObjectCache, TArray< FGuid > &OutInvalidIDs) const
 Called to validate the specified object cache by removing anything that should be deemed out of date 更多...
 
EMovieSceneSequenceFlags GetFlags () const
 Access the flags that define this sequence's characteristics and behavior
 
virtual UMovieScene * GetMovieScene () const
 Get the movie scene that controls this animation. 更多...
 
virtual UObject * GetParentObject (UObject *Object) const
 Get the logical parent object for the supplied object (not necessarily its outer). 更多...
 
bool IsPlayableDirectly () const
 Check whether this sequence is playable directly outside of a master sub sequence or not 更多...
 
TArray< UObject *, TInlineAllocator< 1 > > LocateBoundObjects (const FGuid &ObjectId, UObject *Context) const
 Locate all the objects that correspond to the specified object ID, using the specified context 更多...
 
virtual void LocateBoundObjects (const FGuid &ObjectId, UObject *Context, TArray< UObject *, TInlineAllocator< 1 > > &OutObjects) const
 Locate all the objects that correspond to the specified object ID, using the specified context 更多...
 
virtual UObject * MakeSpawnableTemplateFromInstance (UObject &InSourceObject, FName ObjectName)
 Create a spawnable object template from the specified source object 更多...
 
virtual MOVIESCENE_API void PostLoad () override
 Do any object-specific cleanup required immediately after loading an object. 更多...
 
virtual MOVIESCENE_API void Serialize (FArchive &Ar) override
 Handles reading, writing, and reference collecting using FArchive. 更多...
 
void SetPlayableDirectly (bool bInPlayableDirectly)
 Assign whether this sequence is playable directly outside of a master sub sequence or not 更多...
 
virtual void UnbindInvalidObjects (const FGuid &ObjectId, UObject *Context)
 Unbinds specific objects from the provided GUID that do not resolve 更多...
 
virtual void UnbindObjects (const FGuid &ObjectId, const TArray< UObject * > &InObjects, UObject *Context)
 Unbinds specific objects from the provided GUID 更多...
 
virtual void UnbindPossessableObjects (const FGuid &ObjectId)
 Unbinds all possessable objects from the provided GUID. 更多...
 

Protected 属性

bool bParentContextsAreSignificant
 true if the result of GetParentObject is significant in object resolution for LocateBoundObjects. 更多...
 
bool bPlayableDirectly
 When true, this sequence should be compiled as if it is playable directly (outside of a master sequence). 更多...
 
EMovieSceneSequenceFlags SequenceFlags
 Flags used to define this sequence's behavior and characteristics
 

详细描述

Abstract base class for movie scene animations (C++ version).

成员函数说明

◆ AllowsSpawnableObjects()

virtual bool UMovieSceneSequence::AllowsSpawnableObjects ( ) const
inlinevirtual

Whether objects can be spawned at run-time.

返回
true if objects can be spawned by sequencer, false if only existing objects can be possessed.

被 ULevelSequence 重载.

◆ BeginDestroy()

virtual MOVIESCENE_API void UMovieSceneSequence::BeginDestroy ( )
overridevirtual

Called before destroying the object.

This is called immediately upon deciding to destroy the object, to allow the object to begin an asynchronous cleanup process.

重载 UObject .

◆ BindPossessableObject()

virtual void UMovieSceneSequence::BindPossessableObject ( const FGuid &  ObjectId,
UObject &  PossessedObject,
UObject *  Context 
)
virtual

Called when Sequencer has created an object binding for a possessable object

参数
ObjectIdThe guid used to map to the possessable object. Note the guid can be bound to multiple objects at once
PossessedObjectThe runtime object which was possessed.
ContextOptional context required to bind the specified object (for instance, a parent spawnable object)
参见
UnbindPossessableObjects

被 ULevelSequence 重载.

◆ CanAnimateObject()

virtual bool UMovieSceneSequence::CanAnimateObject ( UObject &  InObject) const
inlinevirtual

Specifies whether this sequence can animate the object in question (either as a spawnable or possessable)

参数
InObjectThe object to check
返回
true if this object can be animated.

被 ULevelSequence 重载.

◆ CanPossessObject()

virtual bool UMovieSceneSequence::CanPossessObject ( UObject &  Object,
UObject *  InPlaybackContext 
) const
virtual

Check whether the given object can be possessed by this animation.

参数
ObjectThe object to check.
InPlaybackContextThe current playback context
返回
true if the object can be possessed, false otherwise.

被 ULevelSequence 重载.

◆ CanRebindPossessable()

virtual bool UMovieSceneSequence::CanRebindPossessable ( const FMovieScenePossessable &  InPossessable) const
inlinevirtual

Specifies whether this sequence allows rebinding of the specified possessable

参数
InPossessableThe possessable to check
返回
true if rebinding this possessable is valid at runtime, false otherwise

被 ULevelSequence 重载.

◆ FindPossessableObjectId()

MOVIESCENE_API FGuid UMovieSceneSequence::FindPossessableObjectId ( UObject &  Object,
UObject *  Context 
) const

Attempt to find the guid relating to the specified object

参数
ObjectIdThe unique identifier of the object.
ContextOptional context to use to find the required object (for instance, a parent spawnable object or its world)
返回
The object's guid, or zero guid if the object is not a valid possessable in the current context

◆ GatherExpiredObjects()

virtual void UMovieSceneSequence::GatherExpiredObjects ( const FMovieSceneObjectCache &  InObjectCache,
TArray< FGuid > &  OutInvalidIDs 
) const
inlinevirtual

Called to validate the specified object cache by removing anything that should be deemed out of date

参数
InObjectCacheThe object cache container that contains all the objects currently animated by this sequence
OutInvalidIDs(Out) Array to populate with any object bindings that should be invalidated

被 ULevelSequence 重载.

◆ GetMovieScene()

virtual UMovieScene * UMovieSceneSequence::GetMovieScene ( ) const
virtual

Get the movie scene that controls this animation.

The returned movie scene represents the root movie scene. It may contain additional child movie scenes.

返回
The movie scene.

被 ULevelSequence 重载.

◆ GetParentObject()

virtual UObject * UMovieSceneSequence::GetParentObject ( UObject *  Object) const
virtual

Get the logical parent object for the supplied object (not necessarily its outer).

参数
ObjectThe object whose parent to get.
返回
The parent object, or nullptr if the object has no logical parent.

被 ULevelSequence 重载.

◆ IsPlayableDirectly()

bool UMovieSceneSequence::IsPlayableDirectly ( ) const
inline

Check whether this sequence is playable directly outside of a master sub sequence or not

返回
True if this sequences cooked data will include all the necessary information to be played back on its own, false if this data is not present in cooked builds

◆ LocateBoundObjects() [1/2]

TArray< UObject *, TInlineAllocator< 1 > > UMovieSceneSequence::LocateBoundObjects ( const FGuid &  ObjectId,
UObject *  Context 
) const
inline

Locate all the objects that correspond to the specified object ID, using the specified context

参数
ObjectIdThe unique identifier of the object.
ContextOptional context to use to find the required object (for instance, a parent spawnable object)
返回
An array of all bound objects

◆ LocateBoundObjects() [2/2]

virtual void UMovieSceneSequence::LocateBoundObjects ( const FGuid &  ObjectId,
UObject *  Context,
TArray< UObject *, TInlineAllocator< 1 > > &  OutObjects 
) const
virtual

Locate all the objects that correspond to the specified object ID, using the specified context

参数
ObjectIdThe unique identifier of the object.
ContextOptional context to use to find the required object (for instance, a parent spawnable object)
OutObjectsDestination array to add found objects to

被 ULevelSequence 重载.

◆ MakeSpawnableTemplateFromInstance()

virtual UObject * UMovieSceneSequence::MakeSpawnableTemplateFromInstance ( UObject &  InSourceObject,
FName  ObjectName 
)
inlinevirtual

Create a spawnable object template from the specified source object

参数
InSourceObjectThe source object to copy
ObjectNameThe name of the object
返回
A new object template of the specified name

被 ULevelSequence 重载.

◆ PostLoad()

virtual MOVIESCENE_API void UMovieSceneSequence::PostLoad ( )
overridevirtual

Do any object-specific cleanup required immediately after loading an object.

This is not called for newly-created objects, and by default will always execute on the game thread.

重载 UObject .

被 ULevelSequence 重载.

◆ Serialize()

virtual MOVIESCENE_API void UMovieSceneSequence::Serialize ( FArchive &  Ar)
overridevirtual

Handles reading, writing, and reference collecting using FArchive.

This implementation handles all FProperty serialization, but can be overridden for native variables.

重载 UObject .

◆ SetPlayableDirectly()

void UMovieSceneSequence::SetPlayableDirectly ( bool  bInPlayableDirectly)
inline

Assign whether this sequence is playable directly outside of a master sub sequence or not

参数
bInPlayableDirectlyWhen true, this sequence's cooked data will include all the necessary information to be played back on its own. When false this data will be culled resulting in less memory usage.

◆ UnbindInvalidObjects()

virtual void UMovieSceneSequence::UnbindInvalidObjects ( const FGuid &  ObjectId,
UObject *  Context 
)
virtual

Unbinds specific objects from the provided GUID that do not resolve

参数
ObjectIdThe guid bound to possessable objects that should be removed.
ContextOptional context required to bind the specified object (for instance, a parent spawnable object)

被 ULevelSequence 重载.

◆ UnbindObjects()

virtual void UMovieSceneSequence::UnbindObjects ( const FGuid &  ObjectId,
const TArray< UObject * > &  InObjects,
UObject *  Context 
)
virtual

Unbinds specific objects from the provided GUID

参数
ObjectIdThe guid bound to possessable objects that should be removed.
InObjectsThe objects to unbind.
ContextOptional context required to bind the specified object (for instance, a parent spawnable object)

被 ULevelSequence 重载.

◆ UnbindPossessableObjects()

virtual void UMovieSceneSequence::UnbindPossessableObjects ( const FGuid &  ObjectId)
virtual

Unbinds all possessable objects from the provided GUID.

参数
ObjectIdThe guid bound to possessable objects that should be removed.
参见
BindPossessableObject

被 ULevelSequence 重载.

类成员变量说明

◆ bParentContextsAreSignificant

bool UMovieSceneSequence::bParentContextsAreSignificant
protected

true if the result of GetParentObject is significant in object resolution for LocateBoundObjects.

When true, if GetParentObject returns nullptr, the PlaybackContext will be used for LocateBoundObjects, other wise the object's parent will be used When false, the PlaybackContext will always be used for LocateBoundObjects

◆ bPlayableDirectly

bool UMovieSceneSequence::bPlayableDirectly
protected

When true, this sequence should be compiled as if it is playable directly (outside of a master sequence).

When false, various compiled data will be omitted, preventing direct playback at runtime (although will still play as a sub sequence)


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