ShaderFxGlow(ShaderFx)

base classes — bpy_struct, ShaderFx

class bpy.types.ShaderFxGlow(ShaderFx)

Glow effect

blend_mode

Blend mode (default 'REGULAR')

Type:

Literal[‘REGULAR’, ‘ADD’, ‘SUBTRACT’, ‘MULTIPLY’, ‘DIVIDE’]

glow_color

Color used for generated glow (array of 3 items, in [0, 1], default (0.0, 0.0, 0.0))

Type:

mathutils.Color

mode

Glow mode (default 'LUMINANCE')

Type:

Literal[‘LUMINANCE’, ‘COLOR’]

opacity

Effect Opacity (in [0, 1], default 0.0)

Type:

float

rotation

Rotation of the effect (in [-inf, inf], default 0.0)

Type:

float

samples

Number of Blur Samples (in [1, 32], default 4)

Type:

int

select_color

Color selected to apply glow (array of 3 items, in [0, 1], default (0.0, 0.0, 0.0))

Type:

mathutils.Color

size

Size of the effect (array of 2 items, in [0, inf], default (0.0, 0.0))

Type:

mathutils.Vector

threshold

Limit to select color for glow effect (in [0, 1], default 0.0)

Type:

float

use_glow_under

Glow only areas with alpha (not supported with Regular blend mode) (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