SpaceSequenceEditor(Space)
base classes — bpy_struct, Space
- class bpy.types.SpaceSequenceEditor(Space)
Sequence editor space data
- annotation
Annotation data for this Preview region
- Type:
- cache_overlay
Settings for display of overlays
- Type:
SequencerCacheOverlay, (readonly, never None)
- cursor_location
2D cursor location for this view
- Type:
mathutils.Vectorof 2 items in [-inf, inf], default (0.0, 0.0)
- display_channel
Preview all channels less than or equal to this value. 0 shows every channel, and negative values climb that many meta-strip levels if applicable, showing every channel there.
- Type:
int in [-5, 128], default 0
- display_mode
View mode to use for displaying sequencer output
- Type:
enum in [
'IMAGE','WAVEFORM','RGB_PARADE','VECTOR_SCOPE','HISTOGRAM'], default"'IMAGE'"
- overlay_frame_type
Overlay display method
RECTANGLERectangle – Show rectangle area overlay.REFERENCEReference – Show reference frame only.CURRENTCurrent – Show current frame only.
- Type:
enum in [
'RECTANGLE','REFERENCE','CURRENT'], default"'RECTANGLE'"
- preview_channels
Channels of the preview to display
COLOR_ALPHAColor & Alpha – Display image with RGB colors and alpha transparency.COLORColor – 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_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
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
- 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 as a timecode instead of frames
- Type:
boolean, default False
- show_transform_preview
Show a preview of the start or end frame of a strip while transforming its respective handle
- 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 Space Sequencer View Type Items, default
"'SEQUENCER'"
- zoom_percentage
Zoom percentage
- Type:
float in [0.4, 80000], default 100.0
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
- Returns:
The RNA type or default when not found.
- Return type:
bpy.types.Structsubclass
- classmethod bl_rna_get_subclass_py(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
- Returns:
The class or default when not found.
- Return type:
type
- classmethod 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 (Callable[..., Any]) – A function that will be called when the region is drawn. It gets the specified arguments as input, it’s return value is ignored.
args (tuple[Any, ...]) – 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_PIXELfor 2D drawing andPOST_VIEWfor 3D drawing. In some casesPRE_VIEWcan be used.BACKDROPcan be used for backdrops in the node editor.
- Returns:
Handler that can be removed later on.
- Return type:
object
- classmethod 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.