|
A broad range of functionality for creating rich game audio. More...
Classes | |
class | SFXAmbience |
A datablock that describes an ambient sound space. More... | |
class | SFXController |
A sound source that drives multi-source playback. More... | |
class | SFXDescription |
A description for how a sound should be played. More... | |
class | SFXEmitter |
An invisible 3D object that emits sound. More... | |
class | SFXEnvironment |
Description of a reverb environment. More... | |
class | SFXParameter |
A sound channel value that can be bound to multiple sound sources. More... | |
class | SFXPlayList |
A datablock describing a playback pattern of sounds. More... | |
class | SFXProfile |
Encapsulates a single sound file for playback by the sound system. More... | |
class | SFXSound |
A sound controller that directly plays a single sound file. More... | |
class | SFXSource |
Playback controller for a sound source. More... | |
class | SFXSpace |
A volume in space that defines an ambient sound zone. More... | |
class | SFXState |
A boolean switch used to modify playlist behavior. More... | |
class | SFXTrack |
Abstract base class for sound data that can be played back by the sound system. More... | |
Modules | |
FMOD | |
Functionality specific to the FMOD SFX implementation. | |
Enumerations | |
enum | SFXChannel { Volume, Pitch, Priority, PositionX, PositionY, PositionZ, RotationX, RotationY, RotationZ, VelocityX, VelocityY, VelocityZ, ReferenceDistance, MaxDistance, ConeInsideAngle, ConeOutsideAngle, ConeOutsideVolume, Cursor, Status, User0, User1, User2, User3 } |
Channels are individual properties of sound sources that may be animated over time. More... | |
enum | SFXDistanceModel { Linear, Logarithmic } |
Type of volume distance attenuation curve. More... | |
enum | SFXPlayListLoopMode { All, Single } |
Playlist behavior when description is set to loop. More... | |
enum | SFXPlayListRandomMode { NotRandom, StrictRandom, OrderedRandom } |
Randomization pattern to apply to playlist slot playback order. More... | |
enum | SFXPlayListReplayMode { IgnorePlaying, RestartPlaying, KeepPlaying, StartNew, SkipIfPlaying } |
Behavior when hitting the play stage of a slot that is still playing from a previous cycle. More... | |
enum | SFXPlayListStateMode { StopWhenDeactivated, PauseWhenDeactivated, IgnoreWhenDeactivated } |
Reaction behavior when a state is changed incompatibly on a slot that has already started playing. More... | |
enum | SFXPlayListTransitionMode { None, Wait, WaitAll, Stop, StopAll } |
Playlist behavior when transitioning in and out of invididual slots. More... | |
enum | SFXStatus { Playing, Stopped, Paused } |
Playback status of sound source. More... | |
Functions | |
bool | sfxCreateDevice (string provider, string device, bool useHardware, int maxBuffers) |
Try to create a new sound device using the given properties. | |
SFXSource | sfxCreateSource (SFXTrack track) |
Create a new source that plays the given track. | |
SFXSource | sfxCreateSource (SFXTrack track, float x, float y, float z) |
Create a new source that plays the given track and position its 3D sounds source at the given coordinates (if it is a 3D sound). | |
SFXSound | sfxCreateSource (SFXDescription description, string filename) |
Create a temporary SFXProfile from the given description and filename and then create and return a new source that plays the profile. | |
SFXSound | sfxCreateSource (SFXDescription description, string filename, float x, float y, float z) |
Create a temporary SFXProfile from the given description and filename and then create and return a new source that plays the profile. Position the sound source at the given coordinates (if it is a 3D sound). | |
void | sfxDeleteDevice () |
Delete the currently active sound device and release all its resources. | |
void | sfxDeleteWhenStopped (SFXSource source) |
Mark the given source for deletion as soon as it moves into stopped state. | |
void | sfxDumpSources (bool includeGroups=false) |
Dump information about all current SFXSource instances to the console. | |
string | sfxDumpSourcesToString (bool includeGroups=false) |
Dump information about all current SFXSource instances to a string. | |
string | sfxGetActiveStates () |
Return a newline-separated list of all active states. | |
string | sfxGetAvailableDevices () |
Get a list of all available sound devices. | |
string | sfxGetDeviceInfo () |
Return information about the currently active sound device. | |
SFXDistanceModel | sfxGetDistanceModel () |
Get the falloff curve type currently being applied to 3D sounds. | |
float | sfxGetDopplerFactor () |
Get the current global doppler effect setting. | |
float | sfxGetRolloffFactor () |
Get the current global scale factor applied to volume attenuation of 3D sounds in the logarithmic model. | |
SFXSource | sfxPlay (SFXSource source) |
Start playback of the given source. | |
void | sfxPlay (SFXTrack track) |
Create a new play-once source for the given track and start playback of the source. | |
void | sfxPlay (SFXTrack track, float x, float y, float z) |
Create a new play-once source for the given track, position its 3D sound at the given coordinates (if the track's description is set up for 3D sound) and start playback of the source. | |
SFXSource | sfxPlayOnce (SFXTrack track) |
Create a play-once source for the given track. | |
SFXSource | sfxPlayOnce (SFXTrack track, float x, float y, float z, float fadeInTime=-1) |
Create a play-once source for the given given track and position the source's 3D sound at the given coordinates only if the track's description is set up for 3D sound). | |
SFXSource | sfxPlayOnce (SFXDescription description, string filename) |
Create a new temporary SFXProfile from the given description and filename, then create a play-once source for it and start playback. | |
SFXSource | sfxPlayOnce (SFXDescription description, string filename, float x, float y, float z, float fadeInTime=-1) |
Create a new temporary SFXProfile from the given description and filename, then create a play-once source for it and start playback. Position the source's 3D sound at the given coordinates (only if the description is set up for 3D sound). | |
void | sfxSetDistanceModel (SFXDistanceModel model) |
Set the falloff curve type to use for distance-based volume attenuation of 3D sounds. | |
void | sfxSetDopplerFactor (float value) |
Set the global doppler effect scale factor. | |
void | sfxSetRolloffFactor (float value) |
Set the global scale factor to apply to volume attenuation of 3D sounds in the logarithmic model. | |
void | sfxStop (SFXSource source) |
Stop playback of the given source. | |
void | sfxStopAndDelete (SFXSource source) |
Stop playback of the given source (if it is not already stopped) and delete the source. | |
Variables | |
int | $SFX::ambientUpdateTime |
Milliseconds spent on the last ambient audio update. | |
const int | $SFX::DEVICE_CAPS_DSPEFFECTS |
Sound device capability flag indicating that the sound device supports adding DSP effect chains to sounds. | |
const int | $SFX::DEVICE_CAPS_FMODDESIGNER |
Sound device capability flag indicating that the sound device supports FMOD Designer audio projects. | |
const int | $SFX::DEVICE_CAPS_MULTILISTENER |
Sound device capability flag indicating that the sound device supports multiple concurrent listeners. | |
const int | $SFX::DEVICE_CAPS_OCCLUSION |
Sound device capability flag indicating that the sound device implements sound occlusion. | |
const int | $SFX::DEVICE_CAPS_REVERB |
Sound device capability flag indicating that the sound device supports reverb. | |
const int | $SFX::DEVICE_CAPS_VOICEMANAGEMENT |
Sound device capability flag indicating that the sound device implements its own voice virtualization. | |
const int | $SFX::DEVICE_INFO_CAPS |
Index of device capability flags in device info string. | |
const int | $SFX::DEVICE_INFO_MAXBUFFERS |
Index of buffer limit number in device info string. | |
const int | $SFX::DEVICE_INFO_NAME |
Index of device name field in device info string. | |
const int | $SFX::DEVICE_INFO_PROVIDER |
Index of sound provider field in device info string. | |
const int | $SFX::DEVICE_INFO_USEHARDWARE |
Index of use hardware flag in device info string. | |
int | $SFX::numCulled |
Number of SFXSounds that are currently in virtualized playback mode. | |
int | $SFX::numPlaying |
Number of SFXSources that are currently in playing state. | |
int | $SFX::numSounds |
Number of SFXSound type objects (i.e. actual single-file sounds) that are currently instantiated. | |
int | $SFX::numSources |
Number of SFXSource type objects that are currently instantiated. | |
int | $SFX::numVoices |
Number of voices that are currently allocated on the sound device. | |
int | $SFX::parameterUpdateTime |
Milliseconds spent on the last SFXParameter update loop. | |
static ColorI | SFXEmitter::renderColorInnerCone |
The color with which to render dots in the inner sound cone (Editor only). | |
static ColorI | SFXEmitter::renderColorOuterCone |
The color with which to render dots in the outer sound cone (Editor only). | |
static ColorI | SFXEmitter::renderColorOutsideVolume |
The color with which to render dots outside of the outer sound cone (Editor only). | |
static ColorI | SFXEmitter::renderColorPlayingInRange |
The color with which to render a sound emitter's marker cube in the editor when the emitter's sound is playing and in range of the listener. | |
static ColorI | SFXEmitter::renderColorPlayingOutOfRange |
The color with which to render a sound emitter's marker cube in the editor when the emitter's sound is playing but out of the range of the listener. | |
static ColorI | SFXEmitter::renderColorRangeSphere |
The color of the range sphere with which to render sound emitters in the editor. | |
static ColorI | SFXEmitter::renderColorStoppedInRange |
The color with which to render a sound emitter's marker cube in the editor when the emitter's sound is not playing but the emitter is in range of the listener. | |
static ColorI | SFXEmitter::renderColorStoppedOutOfRange |
The color with which to render a sound emitter's marker cube in the editor when the emitter's sound is not playing and the emitter is out of range of the listener. | |
static bool | SFXEmitter::renderEmitters |
Whether to render enhanced range feedback in the editor on all emitters regardless of selection state. | |
static float | SFXEmitter::renderPointDistance |
The distance between individual points in the sound emitter rendering in the editor as the points move from the emitter's center away to maxDistance. | |
static float | SFXEmitter::renderRadialIncrements |
The stepping (in degrees) for the radial sweep along the axis of the XY plane sweep for sound emitter rendering in the editor. | |
static float | SFXEmitter::renderSweepIncrements |
The stepping (in degrees) for the radial sweep on the XY plane for sound emitter rendering in the editor. | |
int | $SFX::sourceUpdateTime |
Milliseconds spent on the last SFXSource update loop. |
A broad range of functionality for creating rich game audio.
Please consult the EAX documentation for more information
enum SFXChannel |
Channels are individual properties of sound sources that may be animated over time.
Volume |
Channel controls volume level of attached sound sources.
|
Pitch |
Channel controls pitch of attached sound sources.
|
Priority |
Channel controls virtualizaton priority level of attached sound sources.
|
PositionX |
Channel controls X coordinate of 3D sound position of attached sources. |
PositionY |
Channel controls Y coordinate of 3D sound position of attached sources. |
PositionZ |
Channel controls Z coordinate of 3D sound position of attached sources. |
RotationX |
Channel controls X rotation (in degrees) of 3D sound orientation of attached sources. |
RotationY |
Channel controls Y rotation (in degrees) of 3D sound orientation of attached sources. |
RotationZ |
Channel controls Z rotation (in degrees) of 3D sound orientation of attached sources. |
VelocityX |
Channel controls X coordinate of 3D sound velocity vector of attached sources. |
VelocityY |
Channel controls Y coordinate of 3D sound velocity vector of attached sources. |
VelocityZ |
Channel controls Z coordinate of 3D sound velocity vector of attached sources. |
ReferenceDistance |
Channel controls reference distance of 3D sound of attached sources.
|
MaxDistance |
Channel controls max volume attenuation distance of 3D sound of attached sources.
|
ConeInsideAngle |
Channel controls angle (in degrees) of 3D sound inner volume cone of attached sources.
|
ConeOutsideAngle |
Channel controls angle (in degrees) of 3D sound outer volume cone of attached sources.
|
ConeOutsideVolume |
Channel controls volume outside of 3D sound outer cone of attached sources.
|
Cursor |
Channel controls playback cursor of attached sound sources.
|
Status |
Channel controls playback status of attached sound sources. The channel's value is rounded down to the nearest integer and interpreted in the following way:
|
User0 |
Channel available for custom use. By default ignored by sources.
|
User1 |
Channel available for custom use. By default ignored by sources.
|
User2 |
Channel available for custom use. By default ignored by sources.
|
User3 |
Channel available for custom use. By default ignored by sources.
|
enum SFXDistanceModel |
Type of volume distance attenuation curve.
The distance model determines the falloff curve applied to the volume of 3D sounds over distance.
enum SFXPlayListLoopMode |
Playlist behavior when description is set to loop.
Randomization pattern to apply to playlist slot playback order.
Behavior when hitting the play stage of a slot that is still playing from a previous cycle.
enum SFXPlayListStateMode |
Reaction behavior when a state is changed incompatibly on a slot that has already started playing.
Playlist behavior when transitioning in and out of invididual slots.
Transition behaviors apply when the playback controller starts processing a playlist slot and when it ends processing a slot. Using transition behaviors, playback can be synchronized.
enum SFXStatus |
Playback status of sound source.
bool sfxCreateDevice | ( | string | provider, | |
string | device, | |||
bool | useHardware, | |||
int | maxBuffers | |||
) |
Try to create a new sound device using the given properties.
If a sound device is currently initialized, it will be uninitialized first. However, be aware that in this case, if this function fails, it will not restore the previously active device but rather leave the sound system in an uninitialized state.
Sounds that are already playing while the new device is created will be temporarily transitioned to virtualized playback and then resume normal playback once the device has been created.
In the core scripts, sound is automatically set up during startup in the sfxStartup() function.
provider | The name of the device provider as returned by sfxGetAvailableDevices(). | |
device | The name of the device as returned by sfxGetAvailableDevices(). | |
useHardware | Whether to enabled hardware mixing on the device or not. Only relevant if supported by the given device. | |
maxBuffers | The maximum number of concurrent voices for this device to use or -1 for the device to pick its own reasonable default. |
Create a new source that plays the given track.
The source will be returned in stopped state. Call SFXSource::play() to start playback.
In contrast to play-once sources, the source object will not be automatically deleted once playback stops. Call delete() to release the source object.
This function will automatically create the right SFXSource type for the given SFXTrack.
track | The track the source should play. |
// Create and play a source from a pre-existing profile: %source = sfxCreateSource( SoundFileProfile ); %source.play();
Create a new source that plays the given track and position its 3D sounds source at the given coordinates (if it is a 3D sound).
The source will be returned in stopped state. Call SFXSource::play() to start playback.
In contrast to play-once sources, the source object will not be automatically deleted once playback stops. Call delete() to release the source object.
This function will automatically create the right SFXSource type for the given SFXTrack.
track | The track the source should play. | |
x | The X coordinate of the 3D sound position. | |
y | The Y coordinate of the 3D sound position. | |
z | The Z coordinate of the 3D sound position. |
// Create and play a source from a pre-existing profile and position it at (100, 200, 300): %source = sfxCreateSource( SoundFileProfile, 100, 200, 300 ); %source.play();
SFXSound sfxCreateSource | ( | SFXDescription | description, | |
string | filename | |||
) |
Create a temporary SFXProfile from the given description and filename and then create and return a new source that plays the profile.
The source will be returned in stopped state. Call SFXSource::play() to start playback.
In contrast to play-once sources, the source object will not be automatically deleted once playback stops. Call delete() to release the source object.
description | The description to use for setting up the temporary SFXProfile. | |
filename | Path to the sound file to play. |
// Create a source for a music track: %source = sfxCreateSource( AudioMusicLoop2D, "art/sound/backgroundMusic" ); %source.play();
SFXSound sfxCreateSource | ( | SFXDescription | description, | |
string | filename, | |||
float | x, | |||
float | y, | |||
float | z | |||
) |
Create a temporary SFXProfile from the given description and filename and then create and return a new source that plays the profile. Position the sound source at the given coordinates (if it is a 3D sound).
The source will be returned in stopped state. Call SFXSource::play() to start playback.
In contrast to play-once sources, the source object will not be automatically deleted once playback stops. Call delete() to release the source object.
description | The description to use for setting up the temporary SFXProfile. | |
filename | Path to the sound file to play. | |
x | The X coordinate of the 3D sound position. | |
y | The Y coordinate of the 3D sound position. | |
z | The Z coordinate of the 3D sound position. |
// Create a source for a music track and position it at (100, 200, 300): %source = sfxCreateSource( AudioMusicLoop3D, "art/sound/backgroundMusic", 100, 200, 300 ); %source.play();
void sfxDeleteDevice | ( | ) |
Delete the currently active sound device and release all its resources.
SFXSources that are still playing will be transitioned to virtualized playback mode. When creating a new device, they will automatically transition back to normal playback.
In the core scripts, this is done automatically for you during shutdown in the sfxShutdown() function.
void sfxDeleteWhenStopped | ( | SFXSource | source | ) |
Mark the given source for deletion as soon as it moves into stopped state.
This function will retroactively turn the given source into a play-once source (see Play-Once Sources).
source | A sound source. |
void sfxDumpSources | ( | bool | includeGroups = false |
) |
Dump information about all current SFXSource instances to the console.
The dump includes information about the playback status for each source, volume levels, virtualization, etc.
includeGroups | If true, direct instances of SFXSources (which represent logical sound groups) will be included. Otherwise only instances of subclasses of SFXSources are included in the dump. |
string sfxDumpSourcesToString | ( | bool | includeGroups = false |
) |
Dump information about all current SFXSource instances to a string.
The dump includes information about the playback status for each source, volume levels, virtualization, etc.
includeGroups | If true, direct instances of SFXSources (which represent logical sound groups) will be included. Otherwise only instances of subclasses of SFXSources are included in the dump. |
string sfxGetActiveStates | ( | ) |
Return a newline-separated list of all active states.
stateName1 NL stateName2 NL stateName3 ...
// Disable all active states. foreach$( %state in sfxGetActiveStates() ) %state.disable();
string sfxGetAvailableDevices | ( | ) |
Get a list of all available sound devices.
The return value will be a newline-separated list of entries where each line describes one available sound device. Each such line will have the following format:
provider TAB device TAB hasHardware TAB numMaxBuffers
string sfxGetDeviceInfo | ( | ) |
Return information about the currently active sound device.
The return value is a tab-delimited string of the following format:
provider TAB device TAB hasHardware TAB numMaxBuffers TAB caps
SFXDistanceModel sfxGetDistanceModel | ( | ) |
Get the falloff curve type currently being applied to 3D sounds.
float sfxGetDopplerFactor | ( | ) |
Get the current global doppler effect setting.
float sfxGetRolloffFactor | ( | ) |
Get the current global scale factor applied to volume attenuation of 3D sounds in the logarithmic model.
Start playback of the given source.
This is the same as calling SFXSource::play() directly.
source | The source to start playing. |
// Create and play a source from a pre-existing profile: %source = sfxCreateSource( SoundFileProfile ); %source.play();
void sfxPlay | ( | SFXTrack | track | ) |
Create a new play-once source for the given track and start playback of the source.
This is equivalent to calling sfxCreateSource() on and SFXSource::play() on the resulting source.
track | The sound datablock to play. |
void sfxPlay | ( | SFXTrack | track, | |
float | x, | |||
float | y, | |||
float | z | |||
) |
Create a new play-once source for the given track, position its 3D sound at the given coordinates (if the track's description is set up for 3D sound) and start playback of the source.
This is equivalent to calling sfxCreateSource() on and SFXSource::play() on the resulting source.
track | The sound datablock to play. | |
x | The X coordinate of the 3D sound position. | |
y | The Y coordinate of the 3D sound position. | |
z | The Z coordinate of the 3D sound position. |
Create a play-once source for the given track.
Once playback has finished, the source will be automatically deleted in the next sound system update.
track | The sound datablock. |
Create a play-once source for the given given track and position the source's 3D sound at the given coordinates only if the track's description is set up for 3D sound).
Once playback has finished, the source will be automatically deleted in the next sound system update.
track | The sound datablock. | |
x | The X coordinate of the 3D sound position. | |
y | The Y coordinate of the 3D sound position. | |
z | The Z coordinate of the 3D sound position. | |
fadeInTime | If >=0, this overrides the SFXDescription::fadeInTime value on the track's description. |
// Immediately start playing the given track. Fade it in to full volume over 5 seconds. sfxPlayOnce( MusicTrack, 0, 0, 0, 5.f );
SFXSource sfxPlayOnce | ( | SFXDescription | description, | |
string | filename | |||
) |
Create a new temporary SFXProfile from the given description and filename, then create a play-once source for it and start playback.
Once playback has finished, the source will be automatically deleted in the next sound system update. If not referenced otherwise by then, the temporary SFXProfile will also be deleted.
description | The description to use for playback. | |
filename | Path to the sound file to play. |
// Play a sound effect file once. sfxPlayOnce( AudioEffects, "art/sound/weapons/Weapon_pickup" );
SFXSource sfxPlayOnce | ( | SFXDescription | description, | |
string | filename, | |||
float | x, | |||
float | y, | |||
float | z, | |||
float | fadeInTime = -1 | |||
) |
Create a new temporary SFXProfile from the given description and filename, then create a play-once source for it and start playback. Position the source's 3D sound at the given coordinates (only if the description is set up for 3D sound).
Once playback has finished, the source will be automatically deleted in the next sound system update. If not referenced otherwise by then, the temporary SFXProfile will also be deleted.
description | The description to use for playback. | |
filename | Path to the sound file to play. | |
x | The X coordinate of the 3D sound position. | |
y | The Y coordinate of the 3D sound position. | |
z | The Z coordinate of the 3D sound position. | |
fadeInTime | If >=0, this overrides the SFXDescription::fadeInTime value on the track's description. |
// Play a sound effect file once using a 3D sound with a default falloff placed at the origin. sfxPlayOnce( AudioDefault3D, "art/sound/weapons/Weapon_pickup", 0, 0, 0 );
void sfxSetDistanceModel | ( | SFXDistanceModel | model | ) |
Set the falloff curve type to use for distance-based volume attenuation of 3D sounds.
model | The distance model to use for 3D sound. |
void sfxSetDopplerFactor | ( | float | value | ) |
Set the global doppler effect scale factor.
value | The new doppler shift scale factor. |
void sfxSetRolloffFactor | ( | float | value | ) |
Set the global scale factor to apply to volume attenuation of 3D sounds in the logarithmic model.
value | The new scale factor for logarithmic 3D sound falloff curves. |
void sfxStop | ( | SFXSource | source | ) |
Stop playback of the given source.
This is equivalent to calling SFXSource::stop().
source | The source to put into stopped state. |
void sfxStopAndDelete | ( | SFXSource | source | ) |
Stop playback of the given source (if it is not already stopped) and delete the source.
The advantage of this function over directly calling delete() is that it will correctly handle volume fades that may be configured on the source. Whereas calling delete() would immediately stop playback and delete the source, this functionality will wait for the fade-out to play and only then stop the source and delete it.
source | A sound source. |
int $SFX::ambientUpdateTime |
int $SFX::DEVICE_CAPS_DSPEFFECTS |
Sound device capability flag indicating that the sound device supports adding DSP effect chains to sounds.
int $SFX::DEVICE_CAPS_FMODDESIGNER |
Sound device capability flag indicating that the sound device supports FMOD Designer audio projects.
int $SFX::DEVICE_CAPS_MULTILISTENER |
Sound device capability flag indicating that the sound device supports multiple concurrent listeners.
int $SFX::DEVICE_CAPS_OCCLUSION |
Sound device capability flag indicating that the sound device implements sound occlusion.
int $SFX::DEVICE_CAPS_REVERB |
Sound device capability flag indicating that the sound device supports reverb.
int $SFX::DEVICE_CAPS_VOICEMANAGEMENT |
Sound device capability flag indicating that the sound device implements its own voice virtualization.
For these devices, the sound system will deactivate its own voice management and leave voice virtualization entirely to the device.
int $SFX::DEVICE_INFO_CAPS |
Index of device capability flags in device info string.
int $SFX::DEVICE_INFO_MAXBUFFERS |
Index of buffer limit number in device info string.
int $SFX::DEVICE_INFO_NAME |
Index of device name field in device info string.
int $SFX::DEVICE_INFO_PROVIDER |
Index of sound provider field in device info string.
int $SFX::DEVICE_INFO_USEHARDWARE |
Index of use hardware flag in device info string.
int $SFX::numCulled |
Number of SFXSounds that are currently in virtualized playback mode.
int $SFX::numPlaying |
Number of SFXSources that are currently in playing state.
int $SFX::numSounds |
Number of SFXSound type objects (i.e. actual single-file sounds) that are currently instantiated.
int $SFX::numSources |
Number of SFXSource type objects that are currently instantiated.
int $SFX::numVoices |
Number of voices that are currently allocated on the sound device.
int $SFX::parameterUpdateTime |
ColorI SFXEmitter::renderColorInnerCone [static, inherited] |
The color with which to render dots in the inner sound cone (Editor only).
ColorI SFXEmitter::renderColorOuterCone [static, inherited] |
The color with which to render dots in the outer sound cone (Editor only).
ColorI SFXEmitter::renderColorOutsideVolume [static, inherited] |
The color with which to render dots outside of the outer sound cone (Editor only).
ColorI SFXEmitter::renderColorPlayingInRange [static, inherited] |
The color with which to render a sound emitter's marker cube in the editor when the emitter's sound is playing and in range of the listener.
ColorI SFXEmitter::renderColorPlayingOutOfRange [static, inherited] |
The color with which to render a sound emitter's marker cube in the editor when the emitter's sound is playing but out of the range of the listener.
ColorI SFXEmitter::renderColorRangeSphere [static, inherited] |
The color of the range sphere with which to render sound emitters in the editor.
ColorI SFXEmitter::renderColorStoppedInRange [static, inherited] |
The color with which to render a sound emitter's marker cube in the editor when the emitter's sound is not playing but the emitter is in range of the listener.
ColorI SFXEmitter::renderColorStoppedOutOfRange [static, inherited] |
The color with which to render a sound emitter's marker cube in the editor when the emitter's sound is not playing and the emitter is out of range of the listener.
bool SFXEmitter::renderEmitters [static, inherited] |
Whether to render enhanced range feedback in the editor on all emitters regardless of selection state.
float SFXEmitter::renderPointDistance [static, inherited] |
The distance between individual points in the sound emitter rendering in the editor as the points move from the emitter's center away to maxDistance.
float SFXEmitter::renderRadialIncrements [static, inherited] |
The stepping (in degrees) for the radial sweep along the axis of the XY plane sweep for sound emitter rendering in the editor.
float SFXEmitter::renderSweepIncrements [static, inherited] |
The stepping (in degrees) for the radial sweep on the XY plane for sound emitter rendering in the editor.
int $SFX::sourceUpdateTime |
Milliseconds spent on the last SFXSource update loop.