Mask(ID)

base classes — bpy_struct, ID

class bpy.types.Mask(ID)

Mask data-block defining mask for compositing

active_layer_index

Index of active layer in list of all mask’s layers (in [-inf, inf], default 0)

Type:

int

animation_data

Animation data for this data-block (readonly)

Type:

AnimData

frame_end

Final frame of the mask (used for sequencer) (in [0, 1048574], default 0)

Type:

int

frame_start

First frame of the mask (used for sequencer) (in [0, 1048574], default 0)

Type:

int

layers

Collection of layers which defines this mask (default None, readonly)

Type:

MaskLayers[MaskLayer]

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