Class TCastleTimer
Unit
Declaration
type TCastleTimer = class(TCastleUserInterface)
Description
Timer, running the OnTimer event periodically.
Hierarchy
- TObject
- TPersistent
- TComponent
- TCastleComponent
- TInputListener
- TCastleUserInterface
- TCastleTimer
Overview
Methods
![]() |
procedure DoTimer; virtual; |
![]() |
procedure Update(const SecondsPassed: Single; var HandleInput: boolean); override; |
![]() |
function PropertySection(const PropertyName: String): TPropertySection; override; |
Properties
![]() |
property IntervalSeconds: TFloatTime read FIntervalSeconds write SetIntervalSeconds; |
![]() |
property OnTimer: TNotifyEvent read FOnTimer write FOnTimer; |
![]() |
property CounteractDelays: boolean
read FCounteractDelays write FCounteractDelays default false; |
Description
Methods
![]() |
procedure DoTimer; virtual; |
![]() |
procedure Update(const SecondsPassed: Single; var HandleInput: boolean); override; |
![]() |
function PropertySection(const PropertyName: String): TPropertySection; override; |
Properties
![]() |
property IntervalSeconds: TFloatTime read FIntervalSeconds write SetIntervalSeconds; |
|
How often should we call OnTimer. Value of 0 means to call OnTimer in every Update event. | |
![]() |
property OnTimer: TNotifyEvent read FOnTimer write FOnTimer; |
|
The event called periodically. | |
Generated by PasDoc 0.16.0.


