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')CLIPClip – Show annotation data-block which belongs to movie clip.TRACKTrack – 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_user
Parameters defining which frame of the movie clip is displayed (readonly, never None)
- Type:
- cursor_location
2D cursor location for this view (array of 2 items, in [-inf, inf], default (0.0, 0.0))
- Type:
- 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_display_type
Display type for mask splines (default
'OUTLINE')OUTLINEOutline – Display white edges with black outline.DASHDash – Display dashed black-white edges.BLACKBlack – Display black edges.WHITEWhite – Display white edges.
- Type:
Literal[‘OUTLINE’, ‘DASH’, ‘BLACK’, ‘WHITE’]
- mask_overlay_mode
Overlay mode of rasterized mask (default
'ALPHACHANNEL')ALPHACHANNELAlpha Channel – Show alpha channel of the mask.COMBINEDCombined – 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:
- 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_CENTERBounding Box Center – Pivot around bounding box center of selected object(s).CURSOR2D Cursor – Pivot around the 2D cursor.INDIVIDUAL_ORIGINSIndividual Origins – Pivot around each object’s own origin.MEDIAN_POINTMedian 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:
- 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
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
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_marker_search
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')CLIPClip – Show editing clip preview.GRAPHGraph – Show graph view for active element.DOPESHEETDope 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:
- 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_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.