unreal.MovieSceneDataLayerSection

class unreal.MovieSceneDataLayerSection(outer: Object | None = None, name: Name | str = 'None')

Bases: MovieSceneSection

Movie Scene Data Layer Section

C++ Source:

  • Module: MovieSceneTracks

  • File: MovieSceneDataLayerSection.h

Editor Properties: (see get_editor_property/set_editor_property)

  • color_tint (Color): [Read-Write] The color tint for this section

  • condition_container (MovieSceneConditionContainer): [Read-Write] Optional dynamic condition for whether this section evaluates at runtime.

  • data_layer_assets (Array[DataLayerAsset]): [Read-Write] A list of data layers that should be loaded or unloaded by this section

  • desired_state (DataLayerRuntimeState): [Read-Write] The desired state for the data layers on this section when the section is actively evaluating.

  • easing (MovieSceneEasingSettings): [Read-Write]

  • eval_options (MovieSceneSectionEvalOptions): [Read-Write]

  • flush_on_activated (bool): [Read-Write] Determine if we need to flush level streaming when the data layers are activated. May result in a hitch.

  • flush_on_unload (bool): [Read-Write] Determine if we need to flush level streaming when the data layers unloads.

  • is_active (bool): [Read-Write] Toggle whether this section is active/inactive

  • is_locked (bool): [Read-Write] Toggle whether this section is locked/unlocked

  • post_roll_frames (FrameNumber): [Read-Write] The amount of time to continue ‘postrolling’ this section for after evaluation has ended.

  • pre_roll_frames (FrameNumber): [Read-Write] The amount of time to prepare this section for evaluation before it actually starts.

  • preroll_state (DataLayerRuntimeState): [Read-Write] The desired state for the data layers on this section when the section is pre or post-rolling.

  • section_range (MovieSceneFrameRange): [Read-Write] The range in which this section is active

  • timecode_source (MovieSceneTimecodeSource): [Read-Write] The timecode at which this movie scene section is based (ie. when it was recorded)

get_data_layer_assets() Array[DataLayerAsset]

Get Data Layer Assets

Return type:

Array[DataLayerAsset]

get_desired_state() DataLayerRuntimeState

Get Desired State

Return type:

DataLayerRuntimeState

get_flush_on_activated() bool

Get Flush on Activated

Return type:

bool

get_flush_on_unload() bool

Get Flush on Unload

Return type:

bool

get_preroll_state() DataLayerRuntimeState

Get Preroll State

Return type:

DataLayerRuntimeState

set_data_layer_assets(data_layer_assets) None

Set Data Layer Assets

Parameters:

data_layer_assets (Array[DataLayerAsset])

set_desired_state(desired_state) None

Set Desired State

Parameters:

desired_state (DataLayerRuntimeState)

set_flush_on_activated(flush_on_activated) None

Set Flush on Activated

Parameters:

flush_on_activated (bool)

set_flush_on_unload(flush_on_unload) None

Set Flush on Unload

Parameters:

flush_on_unload (bool)

set_preroll_state(preroll_state) None

Set Preroll State

Parameters:

preroll_state (DataLayerRuntimeState)