MaskLayer(bpy_struct)
base class — bpy_struct
- class bpy.types.MaskLayer(bpy_struct)
Single layer used for masking pixels
- alpha
Render Opacity (in [-inf, inf], default 0.0)
- Type:
float
- blend
Method of blending mask layers (default
'ADD')- Type:
Literal[‘MERGE_ADD’, ‘MERGE_SUBTRACT’, ‘ADD’, ‘SUBTRACT’, ‘LIGHTEN’, ‘DARKEN’, ‘MUL’, ‘REPLACE’, ‘DIFFERENCE’]
- falloff
Falloff type of the feather (default
'SMOOTH')- Type:
- fill_solver
Triangulation solver for filling 2D curves (default
'CDT')SWEEP_LINESweep Line – Fast without support for self-intersection.CDTDelaunay – Constrained Delaunay Triangulation (CDT), robust with support for self-intersections.
- Type:
Literal[‘SWEEP_LINE’, ‘CDT’]
- hide
Restrict visibility in the viewport (default False)
- Type:
bool
- hide_render
Restrict renderability (default False)
- Type:
bool
- hide_select
Restrict selection in the viewport (default False)
- Type:
bool
- invert
Invert the mask black/white (default False)
- Type:
bool
- name
Unique name of layer (default “”, never None)
- Type:
str
- select
Layer is selected for editing in the Dope Sheet (default False)
- Type:
bool
- splines
Collection of splines which defines this layer (default None, readonly)
- Type:
- use_fill_holes
Calculate holes when filling overlapping curves (default True)
- Type:
bool
- use_fill_overlap
Calculate self intersections and overlap before filling (only for the sweep-line solver) (default False)
- Type:
bool
- 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