nomlib
Loading...
Searching...
No Matches
nom::audio::ISoundSource Class Referenceabstract
Inheritance diagram for nom::audio::ISoundSource:
[legend]

Public Member Functions

virtual void reset ()
Sound * sound ()
SoundPriority priority ()
nom::uint32 state ()
nom::real32 volume ()
nom::real32 pitch ()
nom::real32 radius ()
bool looping ()
bool global ()
nom::real64 time_left ()
nom::Point3f & position ()
void set_priority (SoundPriority p)
virtual void set_volume (nom::real32 gain)
void set_pitch (nom::real32 pitch)
void set_looping (bool state)
void set_radius (nom::real32 value)
void set_global (bool state)
void set_position (const nom::Point3f &pos)
void set_position (nom::real32 x, nom::real32 y, nom::real32 z)
virtual void update (nom::real32 delta)=0
virtual void update_state (nom::real32 delta)=0
virtual void attach_source (OALSource *s)=0
virtual void detach_source ()=0
virtual OALSource * source ()=0
virtual void set_sound (Sound *s)=0

Protected Attributes

Sound * sound_
SoundPriority priority_
nom::uint32 state_
nom::real32 volume_
nom::real32 pitch_
nom::real32 radius_
bool looping_
bool global_
nom::real64 time_left_
nom::Point3f position_

Detailed Description

Definition at line 33 of file ISoundSource.hpp.

Member Data Documentation

◆ global_

bool nom::audio::ISoundSource::global_
protected

Definition at line 77 of file ISoundSource.hpp.

◆ looping_

bool nom::audio::ISoundSource::looping_
protected

Definition at line 76 of file ISoundSource.hpp.

◆ pitch_

nom::real32 nom::audio::ISoundSource::pitch_
protected

Definition at line 74 of file ISoundSource.hpp.

◆ position_

nom::Point3f nom::audio::ISoundSource::position_
protected

Definition at line 79 of file ISoundSource.hpp.

◆ priority_

SoundPriority nom::audio::ISoundSource::priority_
protected

Definition at line 71 of file ISoundSource.hpp.

◆ radius_

nom::real32 nom::audio::ISoundSource::radius_
protected

Definition at line 75 of file ISoundSource.hpp.

◆ sound_

Sound* nom::audio::ISoundSource::sound_
protected

Definition at line 70 of file ISoundSource.hpp.

◆ state_

nom::uint32 nom::audio::ISoundSource::state_
protected

Definition at line 72 of file ISoundSource.hpp.

◆ time_left_

nom::real64 nom::audio::ISoundSource::time_left_
protected

Definition at line 78 of file ISoundSource.hpp.

◆ volume_

nom::real32 nom::audio::ISoundSource::volume_
protected

Definition at line 73 of file ISoundSource.hpp.


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