unreal.LevelSequence

class unreal.LevelSequence(outer=None, name='None')

Bases: unreal.MovieSceneSequence

Movie scene animation for Actors.

C++ Source:

  • Module: LevelSequence

  • File: LevelSequence.h

Editor Properties: (see get_editor_property/set_editor_property)

  • asset_user_data (Array(AssetUserData)): [Read-Write] Array of user data stored with the asset

copy_meta_data(meta_data)Object

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.

Parameters

meta_data (Object) – Existing Metadata Object that you wish to copy into this Level Sequence.

Returns

The newly copied instance of the Metadata that now exists on this sequence.

Return type

Object

find_meta_data_by_class(class_)Object

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

Parameters

class (type(Class)) – Class that you wish to find the metadata object for.

Returns

An instance of this class if it already exists as metadata on this Level Sequence, otherwise null.

Return type

Object

find_or_add_meta_data_by_class(class_)Object

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

Parameters

class (type(Class)) – Class that you wish to find or create the metadata object for.

Returns

An instance of this class as metadata on this Level Sequence.

Return type

Object

remove_meta_data_by_class(class_)None

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

Parameters

class (type(Class)) – The class type that you wish to remove the metadata for