ShaderFxShadow(ShaderFx)
base classes — bpy_struct, ShaderFx
- class bpy.types.ShaderFxShadow(ShaderFx)
Shadow effect
- amplitude
Amplitude of Wave (in [0, inf], default 0.0)
- Type:
float
- blur
Number of pixels for blurring shadow (set to 0 to disable) (array of 2 items, in [0, 32767], default (0, 0))
- Type:
bpy_prop_array[int]
- offset
Offset of the shadow (array of 2 items, in [-32768, 32767], default (0, 0))
- Type:
bpy_prop_array[int]
- orientation
Direction of the wave (default
'HORIZONTAL')- Type:
Literal[‘HORIZONTAL’, ‘VERTICAL’]
- period
Period of Wave (in [0, inf], default 0.0)
- Type:
float
- phase
Phase Shift of Wave (in [-inf, inf], default 0.0)
- Type:
float
- rotation
Rotation around center or object (in [-6.28319, 6.28319], default 0.0)
- Type:
float
- samples
Number of Blur Samples (zero, disable blur) (in [0, 32], default 4)
- Type:
int
- scale
Scale of the shadow (array of 2 items, in [-inf, inf], default (0.0, 0.0))
- Type:
- shadow_color
Color used for Shadow (array of 4 items, in [0, 1], default (0.0, 0.0, 0.0, 0.0))
- Type:
bpy_prop_array[float]
- use_object
Use object as center of rotation (default False)
- Type:
bool
- use_wave
Use wave effect (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:
- 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