ShaderFxShadow(ShaderFx)

base classes — bpy_struct, ShaderFx

class bpy.types.ShaderFxShadow(ShaderFx)

Shadow effect

amplitude

Amplitude of Wave

Type:

float in [0, inf], default 0.0

blur

Number of pixels for blurring shadow (set to 0 to disable)

Type:

int array of 2 items in [0, 32767], default (0, 0)

object

Object to determine center of rotation

Type:

Object

offset

Offset of the shadow

Type:

int array of 2 items in [-32768, 32767], default (0, 0)

orientation

Direction of the wave

Type:

enum in [‘HORIZONTAL’, ‘VERTICAL’], default ‘HORIZONTAL’

period

Period of Wave

Type:

float in [0, inf], default 0.0

phase

Phase Shift of Wave

Type:

float in [-inf, inf], default 0.0

rotation

Rotation around center or object

Type:

float in [-6.28319, 6.28319], default 0.0

samples

Number of Blur Samples (zero, disable blur)

Type:

int in [0, 32], default 4

scale

Scale of the shadow

Type:

mathutils.Vector of 2 items in [-inf, inf], default (0.0, 0.0)

shadow_color

Color used for Shadow

Type:

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

use_object

Use object as center of rotation

Type:

boolean, default False

use_wave

Use wave effect

Type:

boolean, default False

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