CompositorNodeChannelMatte(CompositorNode)¶

base classes — bpy_struct, Node, NodeInternal, CompositorNode

class bpy.types.CompositorNodeChannelMatte(CompositorNode)¶

Create matte based on differences in color channels

color_space¶
  • RGB RGB – RGB (Red, Green, Blue) color space.

  • HSV HSV – HSV (Hue, Saturation, Value) color space.

  • YUV YUV – YUV (Y - luma, U V - chroma) color space.

  • YCC YCbCr – YCbCr (Y - luma, Cb - blue-difference chroma, Cr - red-difference chroma) color space.

Type:

enum in [‘RGB’, ‘HSV’, ‘YUV’, ‘YCC’], default ‘RGB’

limit_channel¶

Limit by this channel’s value

  • R R – Red.

  • G G – Green.

  • B B – Blue.

Type:

enum in [‘R’, ‘G’, ‘B’], default ‘R’

limit_max¶

Values higher than this setting are 100% opaque

Type:

float in [-inf, inf], default 0.0

limit_method¶

Algorithm to use to limit channel

  • SINGLE Single – Limit by single channel.

  • MAX Max – Limit by maximum of other channels.

Type:

enum in [‘SINGLE’, ‘MAX’], default ‘SINGLE’

limit_min¶

Values lower than this setting are 100% keyed

Type:

float in [-inf, inf], default 0.0

matte_channel¶

Channel used to determine matte

  • R R – Red.

  • G G – Green.

  • B B – Blue.

Type:

enum in [‘R’, ‘G’, ‘B’], default ‘R’

classmethod is_registered_node_type()¶

True if a registered node type

Returns:

Result

Return type:

boolean

classmethod input_template(index)¶

Input socket template

Parameters:

index (int in [0, inf]) – Index

Returns:

result

Return type:

NodeInternalSocketTemplate

classmethod output_template(index)¶

Output socket template

Parameters:

index (int in [0, inf]) – Index

Returns:

result

Return type:

NodeInternalSocketTemplate

update()¶
classmethod bl_rna_get_subclass(id, default=None)¶
Parameters:

id (str) – The RNA type identifier.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)¶
Parameters:

id (str) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties¶

Inherited Functions¶