Class TMatrixNavigatorWithIdle

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TMatrixNavigatorWithIdle = class(TMatrixNavigator)

Description

A descendant of TMatrixNavigator that has an Idle method.

Hierarchy

Overview

Methods

Public procedure Idle(const CompSpeed: Single; KeysDown: PKeysBooleans; CharactersDown: PCharactersBooleans; const MousePressed: TMouseButtons); virtual; abstract;

Description

Methods

Public procedure Idle(const CompSpeed: Single; KeysDown: PKeysBooleans; CharactersDown: PCharactersBooleans; const MousePressed: TMouseButtons); virtual; abstract;

Call this often, to respond to user actions and to perform other tasks (falling down due to gravity in Walker mode, rotating model in Examine mode, and many more).

Parameters
CompSpeed
Should be calculated like TGLWindow.IdleSpeed, and usually it's in fact just taken from Glwin.IdleSpeed.
KeysDown
What keys are pressed currently ? You pass here a pointer to a boolean table indicating which keys are currently pressed. Or you can pass Nil here if you don't know it. Just like for KeyDown method.
CharactersDown
What character codes are pressed currently ? Analogous to KeysDown, you can pass here a pointer or Nil.
MousePressed
Which mouse buttons are currently pressed ?

Generated by PasDoc 0.11.0 on 2008-09-12 11:58:31