unreal.LevelSequenceDirector

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

Bases: unreal.Object

Level Sequence Director

C++ Source:

  • Module: LevelSequence

  • File: LevelSequenceDirector.h

Editor Properties: (see get_editor_property/set_editor_property)

  • player (LevelSequencePlayer): [Read-Write] Pointer to the player that’s playing back this director’s sequence. Only valid in game or in PIE/Simulate.

get_bound_actor(object_binding)Actor

Resolve the first valid Actor binding inside this sub-sequence that relates to the specified ID note:: ObjectBinding should be constructed from the same sequence as this Sequence Director’s owning Sequence (see the GetSequenceBinding node)

Parameters

object_binding (MovieSceneObjectBindingID) – The ID for the object binding inside this sub-sequence or one of its children to resolve

Returns

Return type

Actor

get_bound_actors(object_binding)

Resolve the actor bindings inside this sub-sequence that relate to the specified ID note:: ObjectBinding should be constructed from the same sequence as this Sequence Director’s owning Sequence (see the GetSequenceBinding node)

Parameters

object_binding (MovieSceneObjectBindingID) – The ID for the object binding inside this sub-sequence or one of its children to resolve

Returns

Return type

Array(Actor)

get_bound_object(object_binding)Object

Resolve the first valid binding inside this sub-sequence that relates to the specified ID note:: ObjectBinding should be constructed from the same sequence as this Sequence Director’s owning Sequence (see the GetSequenceBinding node)

Parameters

object_binding (MovieSceneObjectBindingID) – The ID for the object binding inside this sub-sequence or one of its children to resolve

Returns

Return type

Object

get_bound_objects(object_binding)

Resolve the bindings inside this sub-sequence that relate to the specified ID note:: ObjectBinding should be constructed from the same sequence as this Sequence Director’s owning Sequence (see the GetSequenceBinding node)

Parameters

object_binding (MovieSceneObjectBindingID) – The ID for the object binding inside this sub-sequence or one of its children to resolve

Returns

Return type

Array(Object)

on_created()None

Called when this director is created

property player

[Read-Only] Pointer to the player that’s playing back this director’s sequence. Only valid in game or in PIE/Simulate.

Type

(LevelSequencePlayer)