Class TCastleControl
Unit
Declaration
type TCastleControl = class(TPresentedControl)
Description
Control rendering "Castle Game Engine" on FMX form.
Hierarchy
- TObject
- TPresentedControl
- TCastleControl
Overview
Methods
procedure MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Single); override; |
|
procedure MouseMove(Shift: TShiftState; NewX, NewY: Single); override; |
|
procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Single); override; |
|
procedure MouseWheel(Shift: TShiftState; WheelDelta: Integer; var Handled: Boolean); override; |
|
procedure KeyDown(var Key: Word; var KeyChar: WideChar; Shift: TShiftState); override; |
|
procedure KeyUp(var Key: Word; var KeyChar: WideChar; Shift: TShiftState); override; |
|
function DefinePresentationName: String; override; |
|
procedure Resize; override; |
|
procedure DoRootChanging(const NewRoot: IRoot); override; |
|
procedure SetVisible(const AValue: Boolean); override; |
|
constructor Create(AOwner: TComponent); override; |
|
destructor Destroy; override; |
|
procedure Paint; override; |
|
procedure InternalHandleNeeded; |
|
class procedure ProcessTasks; |
|
class procedure ApplicationRun; |
Properties
property ControlType default TControlType.Platform; |
|
property Container: TCastleControlContainer read GetContainer; |
|
property Align; |
|
property Anchors; |
|
property OnClick; |
|
property OnDblClick; |
|
property Height; |
|
property Width; |
|
property Size; |
|
property Position; |
|
property Margins; |
|
property TabStop default true; |
|
property TabOrder; |
|
property CanFocus default True; |
Description
Methods
procedure MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Single); override; |
|
This item has no description. |
procedure MouseMove(Shift: TShiftState; NewX, NewY: Single); override; |
|
This item has no description. |
procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Single); override; |
|
This item has no description. |
procedure MouseWheel(Shift: TShiftState; WheelDelta: Integer; var Handled: Boolean); override; |
|
This item has no description. |
procedure KeyDown(var Key: Word; var KeyChar: WideChar; Shift: TShiftState); override; |
|
This item has no description. |
procedure KeyUp(var Key: Word; var KeyChar: WideChar; Shift: TShiftState); override; |
|
This item has no description. |
function DefinePresentationName: String; override; |
|
This item has no description. |
procedure Resize; override; |
|
This item has no description. |
procedure DoRootChanging(const NewRoot: IRoot); override; |
|
Not needed in the end // procedure DoRootChanged; override; |
procedure SetVisible(const AValue: Boolean); override; |
|
This item has no description. |
constructor Create(AOwner: TComponent); override; |
|
This item has no description. |
destructor Destroy; override; |
|
This item has no description. |
procedure Paint; override; |
|
This item has no description. |
procedure InternalHandleNeeded; |
|
If Handle not allocated yet, allocate it now. This makes sure we have OpenGL context created. Our OpenBackend must guarantee it, we want to initialize GLVersion afterwards etc. |
Properties
property ControlType default TControlType.Platform; |
|
This control must always have "native style", which means it has |
property Container: TCastleControlContainer read GetContainer; |
|
Access Castle Game Engine container properties and events, not specific to FMX. |
property Align; |
|
This item has no description. |
property Anchors; |
|
This item has no description. |
property OnClick; |
|
This item has no description. |
property OnDblClick; |
|
This item has no description. |
property Height; |
|
This item has no description. |
property Width; |
|
This item has no description. |
property Size; |
|
This item has no description. |
property Position; |
|
This item has no description. |
property Margins; |
|
This item has no description. |
property TabStop default true; |
|
This item has no description. |
property TabOrder; |
|
This item has no description. |
property CanFocus default True; |
|
This item has no description. |
Generated by PasDoc 0.16.0-snapshot.