| SoundEffect Fields |
The SoundEffect type exposes the following members.
| Name | Description | |
|---|---|---|
| AsDebug |
If true, it means this component was added to its parent in debug mode.
(Inherited from BaseComponent.) | |
| DefaultListener |
A default listener to use for 3D sound effects that have no listener and don't use the camera as default.
| |
| DefaultListenerForward |
Default 'Forward' vector to use for 3D sound effect listeners.
| |
| DefaultListenerUp |
Default 'Up' vector to use for 3D sound effect listeners.
| |
| DistanceFadeFactor |
If a listener object is set, this factor will determine how much the volume will decrease per distance unit.
| |
| Listener |
Optional Game Object you can set as the "listener" source for 3d sounds.
If set, will decrease volume as the distance grows between this sound effect and the object.
| |
| PlayOnSpawn |
If true, will play this sound effect immediately on spawn event.
| |
| UseCameraAsListener |
If true, 'Listener' object will always be the currently active camera.
|