SpaceSequenceEditor(Space)

base classes — bpy_struct, Space

class bpy.types.SpaceSequenceEditor(Space)

Sequence editor space data

cursor_location

2D cursor location for this view

Type

float array of 2 items in [-inf, inf], default (0.0, 0.0)

display_channel

The channel number shown in the image preview. 0 is the result of all strips combined

Type

int in [-5, 128], default 0

display_mode

View mode to use for displaying sequencer output

Type

enum in [‘IMAGE’, ‘WAVEFORM’, ‘VECTOR_SCOPE’, ‘HISTOGRAM’], default ‘IMAGE’

grease_pencil

Grease Pencil data for this Preview region

Type

GreasePencil

overlay_frame_type

Overlay display method

  • RECTANGLE Rectangle – Show rectangle area overlay.

  • REFERENCE Reference – Show reference frame only.

  • CURRENT Current – Show current frame only.

Type

enum in [‘RECTANGLE’, ‘REFERENCE’, ‘CURRENT’], default ‘RECTANGLE’

preview_channels

Channels of the preview to display

  • COLOR_ALPHA Color and Alpha – Display image with RGB colors and alpha transparency.

  • COLOR Color – Display image with RGB colors.

Type

enum in [‘COLOR_ALPHA’, ‘COLOR’], default ‘COLOR’

preview_overlay

Settings for display of overlays

Type

SequencerPreviewOverlay, (readonly, never None)

proxy_render_size

Display preview using full resolution or different proxy resolutions

Type

enum in [‘NONE’, ‘SCENE’, ‘PROXY_25’, ‘PROXY_50’, ‘PROXY_75’, ‘PROXY_100’], default ‘SCENE’

show_backdrop

Display result under strips

Type

boolean, default False

show_frames

Display frames rather than seconds

Type

boolean, default False

show_gizmo

Show gizmos of all types

Type

boolean, default False

show_gizmo_context

Context sensitive gizmos for the active item

Type

boolean, default False

show_gizmo_navigate

Viewport navigation gizmo

Type

boolean, default False

show_gizmo_tool

Active tool gizmo

Type

boolean, default False

show_markers

If any exists, show markers in a separate row at the bottom of the editor

Type

boolean, default False

show_overexposed

Show overexposed areas with zebra stripes

Type

int in [0, 110], default 0

show_overlays
Type

boolean, default False

show_region_channels
Type

boolean, default False

show_region_hud
Type

boolean, default False

show_region_tool_header
Type

boolean, default False

show_region_toolbar
Type

boolean, default False

show_region_ui
Type

boolean, default False

show_seconds

Show timing in seconds not frames

Type

boolean, default False

show_separate_color

Separate color channels in preview

Type

boolean, default False

show_transform_preview

Show preview of the transformed frames

Type

boolean, default False

timeline_overlay

Settings for display of overlays

Type

SequencerTimelineOverlay, (readonly, never None)

use_clamp_view

Limit timeline height to maximum used channel slot

Type

boolean, default False

use_marker_sync

Transform markers as well as strips

Type

boolean, default False

use_proxies

Use optimized files for faster scrubbing when available

Type

boolean, default False

use_zoom_to_fit

Automatically zoom preview image to make it fully fit the region

Type

boolean, default False

view_type

Type of the Sequencer view (sequencer, preview or both)

Type

enum in [‘SEQUENCER’, ‘PREVIEW’, ‘SEQUENCER_PREVIEW’], default ‘SEQUENCER’

classmethod bl_rna_get_subclass(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The RNA type or default when not found.

Return type

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The class or default when not found.

Return type

type

draw_handler_add(callback, args, region_type, draw_type)

Add a new draw handler to this space type. It will be called every time the specified region in the space type will be drawn. Note: All arguments are positional only for now.

Parameters
  • callback (function) – A function that will be called when the region is drawn. It gets the specified arguments as input.

  • args (tuple) – Arguments that will be passed to the callback.

  • region_type (str) – The region type the callback draws in; usually WINDOW. (bpy.types.Region.type)

  • draw_type (str) – Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.

Returns

Handler that can be removed later on.

Return type

object

draw_handler_remove(handler, region_type)

Remove a draw handler that was added previously.

Parameters
  • handler (object) – The draw handler that should be removed.

  • region_type (str) – Region type the callback was added to.

Inherited Properties

Inherited Functions