ShaderFxRim(ShaderFx)
base classes — bpy_struct, ShaderFx
- class bpy.types.ShaderFxRim(ShaderFx)
Rim effect
- blur
Number of pixels for blurring rim (set to 0 to disable) (array of 2 items, in [0, 32767], default (0, 0))
- Type:
bpy_prop_array[int]
- mask_color
Color that must be kept (array of 3 items, in [0, 1], default (0.0, 0.0, 0.0))
- Type:
- mode
Blend mode (default
'NORMAL')- Type:
Literal[‘NORMAL’, ‘OVERLAY’, ‘ADD’, ‘SUBTRACT’, ‘MULTIPLY’, ‘DIVIDE’]
- offset
Offset of the rim (array of 2 items, in [-32768, 32767], default (0, 0))
- Type:
bpy_prop_array[int]
- rim_color
Color used for Rim (array of 3 items, in [0, 1], default (0.0, 0.0, 0.0))
- Type:
- samples
Number of Blur Samples (zero, disable blur) (in [0, 32], default 4)
- Type:
int
- 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:
- 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