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:

Literal[Proportional Falloff Curve Only Items]

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:

MaskSplines[MaskSpline]

use_fill_holes

Calculate holes when filling overlapping curves (default True)

Type:

bool

use_fill_overlap

Calculate self intersections and overlap before filling (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:

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

Inherited Properties

Inherited Functions

References