ShaderFxColorize(ShaderFx)

base classes — bpy_struct, ShaderFx

class bpy.types.ShaderFxColorize(ShaderFx)

Colorize effect

factor

Mix factor

Type:

float in [0, 1], default 0.0

high_color

Second color used for effect

Type:

float array of 4 items in [0, 1], default (0.0, 0.0, 0.0, 0.0)

low_color

First color used for effect

Type:

float array of 4 items in [0, 1], default (0.0, 0.0, 0.0, 0.0)

mode

Effect mode

Type:

enum in [‘GRAYSCALE’, ‘SEPIA’, ‘DUOTONE’, ‘TRANSPARENT’, ‘CUSTOM’], default ‘GRAYSCALE’

classmethod bl_rna_get_subclass(id, default=None)
Parameters:

id (string) – 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 (string) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions