Speaker(ID)¶
base classes — bpy_struct
, ID
- class bpy.types.Speaker(ID)¶
Speaker data-block for 3D audio speaker objects
- attenuation¶
How strong the distance affects volume, depending on distance model
- Type:
float in [0, inf], default 1.0
- cone_angle_inner¶
Angle of the inner cone, in degrees, inside the cone the volume is 100%
- Type:
float in [0, 360], default 360.0
- cone_angle_outer¶
Angle of the outer cone, in degrees, outside this cone the volume is the outer cone volume, between inner and outer cone the volume is interpolated
- Type:
float in [0, 360], default 360.0
- cone_volume_outer¶
Volume outside the outer cone
- Type:
float in [0, 1], default 1.0
- distance_max¶
Maximum distance for volume calculation, no matter how far away the object is
- Type:
float in [0, inf], default 3.40282e+38
- distance_reference¶
Reference distance at which volume is 100%
- Type:
float in [0, inf], default 1.0
- muted¶
Mute the speaker
- Type:
boolean, default False
- pitch¶
Playback pitch of the sound
- Type:
float in [0.1, 10], default 1.0
- volume¶
How loud the sound is
- Type:
float in [0, 1], default 1.0
- volume_max¶
Maximum volume, no matter how near the object is
- Type:
float in [0, 1], default 1.0
- volume_min¶
Minimum volume, no matter how far away the object is
- Type:
float in [0, 1], default 0.0
- classmethod bl_rna_get_subclass(id, default=None)¶
- Parameters:
id (str) – 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 (str) – The RNA type identifier.
- Returns:
The class or default when not found.
- Return type:
type