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

Movie scene animation for Actors. 更多...

#include <LevelSequence.h>

+ 类 ULevelSequence 继承关系图:

Public 成员函数

virtual bool AllowsSpawnableObjects () const override
 Whether objects can be spawned at run-time. 更多...
 
virtual void BindPossessableObject (const FGuid &ObjectId, UObject &PossessedObject, UObject *Context) override
 Called when Sequencer has created an object binding for a possessable object 更多...
 
virtual bool CanAnimateObject (UObject &InObject) const override
 Specifies whether this sequence can animate the object in question (either as a spawnable or possessable) 更多...
 
virtual bool CanPossessObject (UObject &Object, UObject *InPlaybackContext) const override
 Check whether the given object can be possessed by this animation. 更多...
 
virtual bool CanRebindPossessable (const FMovieScenePossessable &InPossessable) const override
 Specifies whether this sequence allows rebinding of the specified possessable 更多...
 
void ConvertPersistentBindingsToDefault (UObject *FixupContext)
 Convert old-style lazy object ptrs to new-style references using the specified context
 
UObject * CopyMetaData (UObject *InMetaData)
 Copy the specified meta data into this level sequence, overwriting any existing meta-data of the same type Meta-data may implement the ILevelSequenceMetaData interface in order to hook into default ULevelSequence functionality. 更多...
 
virtual UObject * CreateDirectorInstance (IMovieScenePlayer &Player) override
 Called to retrieve or construct a director instance to be used for the specified player
 
UObject * FindMetaDataByClass (TSubclassOf< UObject > InClass) const
 Find meta-data of a particular type for this level sequence instance. 更多...
 
UObject * FindOrAddMetaDataByClass (TSubclassOf< UObject > InClass)
 Find meta-data of a particular type for this level sequence instance, adding it if it doesn't already exist. 更多...
 
virtual void GatherExpiredObjects (const FMovieSceneObjectCache &InObjectCache, TArray< FGuid > &OutInvalidIDs) const override
 Called to validate the specified object cache by removing anything that should be deemed out of date 更多...
 
virtual UMovieScene * GetMovieScene () const override
 Get the movie scene that controls this animation. 更多...
 
virtual UObject * GetParentObject (UObject *Object) const override
 Get the logical parent object for the supplied object (not necessarily its outer). 更多...
 
virtual void Initialize ()
 Initialize this level sequence.
 
virtual void LocateBoundObjects (const FGuid &ObjectId, UObject *Context, TArray< UObject *, TInlineAllocator< 1 > > &OutObjects) const override
 Locate all the objects that correspond to the specified object ID, using the specified context 更多...
 
virtual UObject * MakeSpawnableTemplateFromInstance (UObject &InSourceObject, FName ObjectName) override
 Create a spawnable object template from the specified source object 更多...
 
virtual void PostDuplicate (bool bDuplicateForPIE) override
 Called after duplication & serialization and before PostLoad. 更多...
 
virtual void PostLoad () override
 Do any object-specific cleanup required immediately after loading an object. 更多...
 
void RemoveMetaDataByClass (TSubclassOf< UObject > InClass)
 Remove meta-data of a particular type for this level sequence instance, if it exists 更多...
 
virtual bool Rename (const TCHAR *NewName=nullptr, UObject *NewOuter=nullptr, ERenameFlags Flags=REN_None) override
 Rename this object to a unique name, or change its outer. 更多...
 
virtual void UnbindInvalidObjects (const FGuid &ObjectId, UObject *InContext) override
 Unbinds specific objects from the provided GUID that do not resolve 更多...
 
virtual void UnbindObjects (const FGuid &ObjectId, const TArray< UObject * > &InObjects, UObject *InContext) override
 Unbinds specific objects from the provided GUID 更多...
 
virtual void UnbindPossessableObjects (const FGuid &ObjectId) override
 Unbinds all possessable objects from the provided GUID. 更多...
 
- Public 成员函数 继承自 UMovieSceneSequence
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. 更多...
 

Public 属性

UMovieScene * MovieScene
 Pointer to the movie scene that controls this animation.
 

Protected 属性

TArray< UAssetUserData * > AssetUserData
 Array of user data stored with the asset
 
FLevelSequenceBindingReferences BindingReferences
 References to bound objects.
 
UClass * DirectorClass
 The class that is used to spawn this level sequence's director instance. 更多...
 
FLevelSequenceObjectReferenceMap ObjectReferences
 Legacy object references - should be read-only. 更多...
 
TMap< FString, FLevelSequenceObject > PossessedObjects_DEPRECATED
 Deprecated property housing old possessed object bindings
 
- Protected 属性 继承自 UMovieSceneSequence
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
 

详细描述

Movie scene animation for Actors.

成员函数说明

◆ AllowsSpawnableObjects()

virtual bool ULevelSequence::AllowsSpawnableObjects ( ) const
overridevirtual

Whether objects can be spawned at run-time.

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

重载 UMovieSceneSequence .

◆ BindPossessableObject()

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

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

重载 UMovieSceneSequence .

◆ CanAnimateObject()

virtual bool ULevelSequence::CanAnimateObject ( UObject &  InObject) const
overridevirtual

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.

重载 UMovieSceneSequence .

◆ CanPossessObject()

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

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.

重载 UMovieSceneSequence .

◆ CanRebindPossessable()

virtual bool ULevelSequence::CanRebindPossessable ( const FMovieScenePossessable &  InPossessable) const
overridevirtual

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

重载 UMovieSceneSequence .

◆ CopyMetaData()

UObject * ULevelSequence::CopyMetaData ( UObject *  InMetaData)
inline

Copy the specified meta data into this level sequence, overwriting any existing meta-data of the same type Meta-data may implement the ILevelSequenceMetaData interface in order to hook into default ULevelSequence functionality.

参数
InMetaData- Existing Metadata Object that you wish to copy into this Level Sequence.
返回
The newly copied instance of the Metadata that now exists on this sequence.

◆ FindMetaDataByClass()

UObject * ULevelSequence::FindMetaDataByClass ( TSubclassOf< UObject >  InClass) const
inline

Find meta-data of a particular type for this level sequence instance.

参数
InClass- Class that you wish to find the metadata object for.
返回
An instance of this class if it already exists as metadata on this Level Sequence, otherwise null.

◆ FindOrAddMetaDataByClass()

UObject * ULevelSequence::FindOrAddMetaDataByClass ( TSubclassOf< UObject >  InClass)
inline

Find meta-data of a particular type for this level sequence instance, adding it if it doesn't already exist.

参数
InClass- Class that you wish to find or create the metadata object for.
返回
An instance of this class as metadata on this Level Sequence.

◆ GatherExpiredObjects()

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

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

重载 UMovieSceneSequence .

◆ GetMovieScene()

virtual UMovieScene * ULevelSequence::GetMovieScene ( ) const
overridevirtual

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.

重载 UMovieSceneSequence .

◆ GetParentObject()

virtual UObject * ULevelSequence::GetParentObject ( UObject *  Object) const
overridevirtual

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.

重载 UMovieSceneSequence .

◆ LocateBoundObjects()

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

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

重载 UMovieSceneSequence .

◆ MakeSpawnableTemplateFromInstance()

virtual UObject * ULevelSequence::MakeSpawnableTemplateFromInstance ( UObject &  InSourceObject,
FName  ObjectName 
)
overridevirtual

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

重载 UMovieSceneSequence .

◆ PostDuplicate()

virtual void ULevelSequence::PostDuplicate ( bool  bDuplicateForPIE)
overridevirtual

Called after duplication & serialization and before PostLoad.

Used to e.g. make sure UStaticMesh's UModel gets copied as well. Note: NOT called on components on actor duplication (alt-drag or copy-paste). Use PostEditImport as well to cover that case.

重载 UObject .

◆ PostLoad()

virtual void ULevelSequence::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.

重载 UMovieSceneSequence .

◆ RemoveMetaDataByClass()

void ULevelSequence::RemoveMetaDataByClass ( TSubclassOf< UObject >  InClass)
inline

Remove meta-data of a particular type for this level sequence instance, if it exists

参数
InClass- The class type that you wish to remove the metadata for

◆ Rename()

virtual bool ULevelSequence::Rename ( const TCHAR *  NewName = nullptr,
UObject *  NewOuter = nullptr,
ERenameFlags  Flags = REN_None 
)
overridevirtual

Rename this object to a unique name, or change its outer.

警告
Unless ForceNoResetLoaders is passed in, this will cause a flush of all level streaming.
参数
NewNameThe new name of the object, if null then NewOuter should be set
NewOuterNew Outer this object will be placed within, if null it will use the current outer
FlagsFlags to specify what happens during the rename

重载 UObject .

◆ UnbindInvalidObjects()

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

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)

重载 UMovieSceneSequence .

◆ UnbindObjects()

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

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)

重载 UMovieSceneSequence .

◆ UnbindPossessableObjects()

virtual void ULevelSequence::UnbindPossessableObjects ( const FGuid &  ObjectId)
overridevirtual

Unbinds all possessable objects from the provided GUID.

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

重载 UMovieSceneSequence .

类成员变量说明

◆ DirectorClass

UClass* ULevelSequence::DirectorClass
protected

The class that is used to spawn this level sequence's director instance.

Director instances are allocated on-demand one per sequence during evaluation and are used by event tracks for triggering events.

◆ ObjectReferences

FLevelSequenceObjectReferenceMap ULevelSequence::ObjectReferences
protected

Legacy object references - should be read-only.

Not deprecated because they need to still be saved


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