Scripting API
SceneModule
Speaker

Speaker

The Speaker class encapsulates an speaker for a scene. Old class name is AudioSource.



Inherits From : SceneObjectBase

Example

Properties

PropertyDescription

volume

(get) volume: ScalarSignal
(set) volume: ScalarSignal


Specifies the volume of the speaker in the range of [0.0, 1.0].
Note: To access this property you need to enable the AudioSourceVolume API capability.

volume

(get) volume: ScalarSignal
(set) volume: ScalarSignal


Specifies the volume of the speaker in the range of [0.0, 1.0].
Note: To access this property you need to enable the AudioSourceVolume API capability.

Methods

This module exposes no methods.