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; |
|
function InternalFinalPriority: 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; |
|
This item has no description. Showing description inherited from TCastlePlayingSound.DoStop. Do the necessary job after source stopped, due to any reason. In this class it handles OnStop and FreeOnStop. If you override this: Since FreeOnStop may free the instance, you should add your code before calling inherited. |
constructor Create(AOwner: TComponent); override; |
|
This item has no description. |
function InternalFinalVolume: Single; override; |
|
This item has no description. |
function InternalFinalPitch: Single; override; |
|
This item has no description. |
function InternalFinalPriority: Single; override; |
|
This item has no description. |
Properties
property Follow: Boolean read FFollow write FFollow default true; |
|
If If not This matters only for spatial sounds (TCastleSoundSource.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-snapshot.