base class — SCA_IActuator
Sound Actuator.
The startSound, pauseSound and stopSound do not require the actuator to be activated - they act instantly provided that the actuator has been activated once at least.
The volume (gain) of the sound.
| Type: | float |
|---|
The current position in the audio stream (in seconds).
| Type: | float |
|---|
The pitch of the sound.
| Type: | float |
|---|
The operation mode of the actuator. Can be one of these constants
| Type: | integer |
|---|
The sound the actuator should play.
| Type: | Audaspace factory |
|---|
Whether or not the actuator should be using 3D sound. (read-only)
| Type: | boolean |
|---|
The maximum gain of the sound, no matter how near it is.
| Type: | float |
|---|
The minimum gain of the sound, no matter how far it is away.
| Type: | float |
|---|
The distance where the sound has a gain of 1.0.
| Type: | float |
|---|
The maximum distance at which you can hear the sound.
| Type: | float |
|---|
The influence factor on volume depending on distance.
| Type: | float |
|---|
The angle of the inner cone.
| Type: | float |
|---|
The angle of the outer cone.
| Type: | float |
|---|
The gain outside the outer cone (the gain in the outer cone will be interpolated between this value and the normal gain in the inner cone).
| Type: | float |
|---|
Starts the sound.
| Returns: | None |
|---|
Pauses the sound.
| Returns: | None |
|---|
Stops the sound.
| Returns: | None |
|---|