Nuclide
Software Development Kit for id Technology

About this class

A soundDef aka 'sound shader' type.

Public Attributes

float dist_min
 Minimum playback distance. More...
 
float dist_max
 Maximum playback distance. More...
 
float offset
 Sound sample offset. More...
 
float pitch_min
 Minimum sound pitch. More...
 
float pitch_max
 Maximum sound pitch. More...
 
float shakes
 Earthquake/Shake amplifier. More...
 
float volume
 Desired playback volume. More...
 
soundFlag_t flags
 Sound flags that are applied to this soundDef. More...
 
int playc
 Number of plays. More...
 
int sample_count
 Total amount of samples within this soundDef. More...
 
string samples
 Separated list of samples. More...
 
string name
 Name of the soundDef. More...
 
string distshader
 soundDef to play where this soundDef is not audible. More...
 
float pointparticle
 

Member Data Documentation

◆ dist_max

float snd_t::dist_max

Maximum playback distance.

◆ dist_min

float snd_t::dist_min

Minimum playback distance.

Default is 0.

◆ distshader

string snd_t::distshader

soundDef to play where this soundDef is not audible.

◆ flags

soundFlag_t snd_t::flags

Sound flags that are applied to this soundDef.

◆ name

string snd_t::name

Name of the soundDef.

◆ offset

float snd_t::offset

Sound sample offset.

Will start playback this many seconds in.

◆ pitch_max

float snd_t::pitch_max

Maximum sound pitch.

◆ pitch_min

float snd_t::pitch_min

Minimum sound pitch.

◆ playc

int snd_t::playc

Number of plays.

◆ pointparticle

float snd_t::pointparticle

◆ sample_count

int snd_t::sample_count

Total amount of samples within this soundDef.

◆ samples

string snd_t::samples

Separated list of samples.

◆ shakes

float snd_t::shakes

Earthquake/Shake amplifier.

Default is 0.

◆ volume

float snd_t::volume

Desired playback volume.


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