Enfusion Script API
Loading...
Searching...
No Matches
AmbientSoundsModule Interface Reference
Inheritance diagram for AmbientSoundsModule:
SndBaseModule ScriptAndConfig Managed

Additional Inherited Members

- Public Member Functions inherited from SndBaseModule
proto external AudioHandle SoundEvent (string eventName)
 Sound event.
 
proto external void SetSignalValueStr (string signal, float value)
 Sets signal value by name.
 
proto external void SetSignalValue (int signal, float value)
 Sets signal value by index returned by GetSignalIndex(string name).
 
proto external void SetTransformation (vector transf[])
 Set transformation of all sounds played by this component.
 
proto external void SetSoundTransformation (AudioHandle handle, vector transf[])
 Sets transformation of the sound associated with the given handle.
 
proto external void UpdateTrigger ()
 Update playback of triggered sounds.
 
proto external bool IsFinishedPlaying (AudioHandle handle)
 Check if sound associated with given handle has finished playing.
 
proto external int GetSignalIndex (string name)
 Returns the index of the given signal name or -1 if not found.
 
proto external void Terminate (AudioHandle handle)
 Terminate the sound associated with the given handle.
 
- Public Member Functions inherited from Managed
proto external ref Managed Clone ()
 Return shallow copy of object, or null if it is not allowed (not public constructor)
 
- Protected Member Functions inherited from SndBaseModule
proto external SndSystem GetSndSystem ()
 
void OnInit ()
 Called after owner system is initialized.
 
void OnCleanup ()
 Called before parent system is cleaned up.
 
void OnUpdate (float timeslice)
 Called after parent system is ticked.
 
void OnDiag (float timeslice)
 Diag for the module.
 

The documentation for this interface was generated from the following file: