Unit CastleControl

Description

Component with OpenGL context suitable for 2D and 3D rendering of "Castle Game Engine".

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TCastleControlBase Control to render everything (3D or 2D) with Castle Game Engine.
Class TControlGameSceneManager Same as TGameSceneManager, redefined only to work as a sub-component of TCastleControl, otherwise Lazarus fails to update the uses clause correctly and you cannot edit the events of CastleControl1.SceneManager subcomponent.
Class TCastleControl Control to render everything (3D or 2D) with Castle Game Engine, with a default TCastleSceneManager instance already created for you.
Class TControl2DSceneManager Same as TCastle2DSceneManager, redefined only to work as a sub-component of TCastleControl, otherwise Lazarus fails to update the uses clause correctly and you cannot edit the events of CastleControl1.SceneManager subcomponent.
Class TCastle2DControl Control to render 2D games with Castle Game Engine, with a default TCastle2DSceneManager instance already created for you.

Functions and Procedures

procedure Register;
function GetLimitFPS: Single; deprecated 'use ApplicationProperties.LimitFPS';
procedure SetLimitFPS(const Value: Single); deprecated 'use ApplicationProperties.LimitFPS';

Types

TCastleControlCustom = TCastleControlBase deprecated 'use TCastleControlBase';

Constants

DefaultLimitFPS = TCastleApplicationProperties.DefaultLimitFPS deprecated 'use TCastleApplicationProperties.DefaultLimitFPS';

Variables

property LimitFPS: Single read GetLimitFPS write SetLimitFPS;

Description

Functions and Procedures

procedure Register;
 
function GetLimitFPS: Single; deprecated 'use ApplicationProperties.LimitFPS';

Warning: this symbol is deprecated: use ApplicationProperties.LimitFPS

 
procedure SetLimitFPS(const Value: Single); deprecated 'use ApplicationProperties.LimitFPS';

Warning: this symbol is deprecated: use ApplicationProperties.LimitFPS

 

Types

TCastleControlCustom = TCastleControlBase deprecated 'use TCastleControlBase';

Warning: this symbol is deprecated: use TCastleControlBase

 

Constants

DefaultLimitFPS = TCastleApplicationProperties.DefaultLimitFPS deprecated 'use TCastleApplicationProperties.DefaultLimitFPS';

Warning: this symbol is deprecated: use TCastleApplicationProperties.DefaultLimitFPS

Define this for new Lazarus that has Options (with ocoRenderAtDesignTime) (see issue https://bugs.freepascal.org/view.php?id=32026 ).

Variables

property LimitFPS: Single read GetLimitFPS write SetLimitFPS;
 

Generated by PasDoc 0.15.0.