Class TSoundParameters
Unit
CastleSoundEngine
Declaration
type TSoundParameters = class(TObject)
Description
Parameters to use when playing sound, see TSoundEngine.PlaySound.
Hierarchy
Overview
Fields
Methods
Description
Fields
 |
Spatial: boolean; |
|
 |
Looping: boolean; |
|
 |
Importance: Cardinal; |
|
 |
Gain: Single; |
Gain is the volume of sound. MinGain and MaxGain determine how it can change because of spatialization (where the sound may get quieter / louder as you get further / closer to it). By default, Gain and MaxGain are 1.0, and MinGain is 0.0.
|
 |
MinGain: Single; |
Gain is the volume of sound. MinGain and MaxGain determine how it can change because of spatialization (where the sound may get quieter / louder as you get further / closer to it). By default, Gain and MaxGain are 1.0, and MinGain is 0.0.
|
 |
MaxGain: Single; |
Gain is the volume of sound. MinGain and MaxGain determine how it can change because of spatialization (where the sound may get quieter / louder as you get further / closer to it). By default, Gain and MaxGain are 1.0, and MinGain is 0.0.
|
 |
Position: TVector3; |
The position of sound in 3D space. Used only if Spatial = True .
|
 |
Pitch: Single; |
Pitch allows to play the sound faster. By default it is 1.0.
|
 |
Offset: Single; |
Offset is a position in time of the sound.
|
Methods
 |
constructor Create; |
|
Generated by PasDoc 0.15.0.
|