Trackmania ManiaScript Reference 2024.9.17.1117
A ManiaScript Reference of the new Trackmania.
Loading...
Searching...
No Matches
CAudioManager Class Reference

Documentation for class CAudioManager. More...

#include <doc.h>

Inheritance diagram for CAudioManager:
[legend]

Public Types

enum  ELibSound {
  Alert , ShowDialog , HideDialog , ShowMenu ,
  HideMenu , Focus , Valid , Start ,
  Countdown , Victory , ScoreIncrease , Checkpoint
}
 

Public Member Functions

CAudioSource CreateSound (Text Url)
 
CAudioSource CreateSound (Text Url, Real VolumedB, Boolean IsMusic, Boolean IsLooping, Boolean IsSpatialized)
 
Void DestroySound (CAudioSource Sound)
 
CAudioSourceMusic CreateMusic (Text Url)
 
Void DestroyMusic (CAudioSourceMusic Music)
 
Void PlaySoundEvent (CAudioSource Sound, Real VolumedB)
 
Void PlaySoundEvent (Text Url, Real VolumedB)
 
Void PlaySoundEvent (CAudioManager::ELibSound Sound, Integer SoundVariant, Real VolumedB)
 
Void PlaySoundEvent (CAudioSource Sound, Real VolumedB, Integer Delay)
 
Void PlaySoundEvent (Text Url, Real VolumedB, Integer Delay)
 
Void PlaySoundEvent (CAudioManager::ELibSound Sound, Integer SoundVariant, Real VolumedB, Integer Delay)
 
Void PlaySoundEvent (CAudioSource Sound, Real VolumedB, Vec3 PanRadiusLfe)
 
Void PlaySoundEvent (Text Url, Real VolumedB, Vec3 PanRadiusLfe)
 
Void PlaySoundEvent (CAudioSource Sound, Real VolumedB, Vec3 PanRadiusLfe, Integer Delay)
 
Void PlaySoundEvent (Text Url, Real VolumedB, Vec3 PanRadiusLfe, Integer Delay)
 
Void ClearAllDelayedSoundsEvents ()
 

Public Attributes

Array< CAudioSource *const > Sounds
 
Boolean ForceEnableMusic
 
Real LimitMusicVolumedB
 
Real LimitSceneSoundVolumedB
 
Real LimitUiSoundVolumedB
 
- Public Attributes inherited from CNod
Ident const Id
 

Detailed Description

Documentation for class CAudioManager.


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