Class TCastlePlayingSoundSource
Unit
Declaration
type TCastlePlayingSoundSource = class(TCastlePlayingSound)
Description
Controls a sound playback initiated by TCastleSoundSource.Play. See the ancestor TCastlePlayingSound for most important documentation. This class simply extends the ancestor with some properties useful only together with the TCastleSoundSource.
Hierarchy
- TObject
- TPersistent
- TComponent
- TCastlePlayingSound
- TCastlePlayingSoundSource
Overview
Methods
procedure DoStop; override; |
|
constructor Create(AOwner: TComponent); override; |
|
function InternalFinalVolume: Single; override; |
|
function InternalFinalPitch: Single; override; |
Properties
property Follow: Boolean read FFollow write FFollow default true; |
|
property SoundHeight: Single read FSoundHeight write FSoundHeight
default 0.0; |
Description
Methods
procedure DoStop; override; |
|
constructor Create(AOwner: TComponent); override; |
|
function InternalFinalVolume: Single; override; |
|
function InternalFinalPitch: Single; override; |
|
Properties
property Follow: Boolean read FFollow write FFollow default true; |
|
If If not This matters only for spatial sounds (TCastleSound.Spatial). |
property SoundHeight: Single read FSoundHeight write FSoundHeight
default 0.0; |
|
The exact sound position reflects the transformation of the TCastleSoundSource, either Parent.Translation or Parent.Middle. Use this property to control which one, it makes a linear interpolation between them.
You can conigure Parent.Middle using Parent.MiddleHeight. |
Generated by PasDoc 0.16.0.