SpaceClipEditor(Space)

base classes — bpy_struct, Space

class bpy.types.SpaceClipEditor(Space)

Clip editor space data

annotation_source

Where the annotation comes from (default 'CLIP')

  • CLIP Clip – Show annotation data-block which belongs to movie clip.

  • TRACK Track – Show annotation data-block which belongs to active track.

Type:

Literal[‘CLIP’, ‘TRACK’]

blend_factor

Overlay blending factor of rasterized mask (in [0, 1], default 0.7)

Type:

float

clip

Movie clip displayed and edited in this space

Type:

MovieClip

clip_user

Parameters defining which frame of the movie clip is displayed (readonly, never None)

Type:

MovieClipUser

cursor_location

2D cursor location for this view (array of 2 items, in [-inf, inf], default (0.0, 0.0))

Type:

mathutils.Vector

lock_selection

Lock viewport to selected markers during playback (default False)

Type:

bool

lock_time_cursor

Lock curves view to time cursor during playback and tracking (default False)

Type:

bool

mask

Mask displayed and edited in this space

Type:

Mask

mask_display_type

Display type for mask splines (default 'OUTLINE')

  • OUTLINE Outline – Display white edges with black outline.

  • DASH Dash – Display dashed black-white edges.

  • BLACK Black – Display black edges.

  • WHITE White – Display white edges.

Type:

Literal[‘OUTLINE’, ‘DASH’, ‘BLACK’, ‘WHITE’]

mask_overlay_mode

Overlay mode of rasterized mask (default 'ALPHACHANNEL')

  • ALPHACHANNEL Alpha Channel – Show alpha channel of the mask.

  • COMBINED Combined – Combine space background image with the mask.

Type:

Literal[‘ALPHACHANNEL’, ‘COMBINED’]

mode

Editing context being displayed (default 'TRACKING')

Type:

Literal[Clip Editor Mode Items]

overlay

Settings for display of overlays in the Movie Clip editor (readonly, never None)

Type:

SpaceClipOverlay

path_length

Length of displaying path, in frames (in [0, inf], default 20)

Type:

int

pivot_point

Pivot center for rotation/scaling (default 'MEDIAN_POINT')

  • BOUNDING_BOX_CENTER Bounding Box Center – Pivot around bounding box center of selected object(s).

  • CURSOR 2D Cursor – Pivot around the 2D cursor.

  • INDIVIDUAL_ORIGINS Individual Origins – Pivot around each object’s own origin.

  • MEDIAN_POINT Median Point – Pivot around the median point of selected objects.

Type:

Literal[‘BOUNDING_BOX_CENTER’, ‘CURSOR’, ‘INDIVIDUAL_ORIGINS’, ‘MEDIAN_POINT’]

scopes

Scopes to visualize movie clip statistics (readonly)

Type:

MovieClipScopes

show_annotation

Show annotations for this view (default True)

Type:

bool

show_blue_channel

Show blue channel in the frame (default True)

Type:

bool

show_bundles

Show projection of 3D markers into footage (default False)

Type:

bool

show_disabled

Show disabled tracks from the footage (default True)

Type:

bool

show_filters

Show filters for graph editor (default False)

Type:

bool

show_gizmo

Show gizmos of all types (default True)

Type:

bool

show_gizmo_navigate

Viewport navigation gizmo (default True)

Type:

bool

show_graph_frames

Show curve for per-frame average error (camera motion should be solved first) (default True)

Type:

bool

show_graph_hidden

Include channels from objects/bone that are not visible (default False)

Type:

bool

show_graph_only_selected

Only include channels relating to selected objects and data (default False)

Type:

bool

show_graph_tracks_error

Display the reprojection error curve for selected tracks (default False)

Type:

bool

show_graph_tracks_motion

Display speed curves for the selected tracks (default True)

Type:

bool

show_green_channel

Show green channel in the frame (default True)

Type:

bool

show_grid

Show grid showing lens distortion (default False)

Type:

bool

show_marker_pattern

Show pattern boundbox for markers (default True)

Type:

bool

Show search boundbox for markers (default False)

Type:

bool

show_mask_overlay

(default False)

Type:

bool

show_mask_spline

(default True)

Type:

bool

show_metadata

Show metadata of clip (default False)

Type:

bool

show_names

Show track names and status (default False)

Type:

bool

show_red_channel

Show red channel in the frame (default True)

Type:

bool

show_region_channels

(default False)

Type:

bool

show_region_hud

(default False)

Type:

bool

show_region_toolbar

(default False)

Type:

bool

show_region_ui

(default False)

Type:

bool

show_seconds

Show timing as a timecode instead of frames (default False)

Type:

bool

show_stable

Show stable footage in editor (if stabilization is enabled) (default False)

Type:

bool

show_tiny_markers

Show markers in a more compact manner (default False)

Type:

bool

show_track_path

Show path of how track moves (default True)

Type:

bool

use_grayscale_preview

Display frame in grayscale mode (default False)

Type:

bool

use_manual_calibration

Use manual calibration helpers (default False)

Type:

bool

use_mute_footage

Mute footage and show black background instead (default False)

Type:

bool

view

Type of the clip editor view (default 'CLIP')

  • CLIP Clip – Show editing clip preview.

  • GRAPH Graph – Show graph view for active element.

  • DOPESHEET Dope Sheet – Dope Sheet view for tracking data.

Type:

Literal[‘CLIP’, ‘GRAPH’, ‘DOPESHEET’]

zoom_percentage

Zoom percentage (in [0.4, 80000], default 100.0)

Type:

float

classmethod bl_rna_get_subclass(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (bpy.types.Struct | None) – The value to return when not found.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct

classmethod bl_rna_get_subclass_py(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (type | None) – The value to return when not found.

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_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

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.

Inherited Properties

Inherited Functions