Unit CastleViewport

Description

Viewport to display scenes (TCastleViewport).

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TCastleViewport Viewport displays a tree of scenes and transformations (TCastleTransform and TCastleScene).
Class TCastleViewportList  
Class TCastleSceneManager Deprecated way to manage transformatiosn and scenes.

Functions and Procedures

procedure Register;

Types

TRender3DEvent = procedure (Viewport: TCastleViewport; const Params: TRenderParams) of object;
TProjectionEvent = procedure (var Parameters: TProjection) of object;

Variables

Input_Interact: TInputShortcut;

Description

Functions and Procedures

procedure Register;
 

Types

TRender3DEvent = procedure (Viewport: TCastleViewport; const Params: TRenderParams) of object;
 
TProjectionEvent = procedure (var Parameters: TProjection) of object;

Event for TCastleViewport.OnProjection.

Variables

Input_Interact: TInputShortcut;

Key/mouse combination to interact with clickable things in 3D world. More precisely, this input will activate pointing device sensors in VRML/X3D, which are used to touch (click) or drag 3D things. By default this is left mouse button click.

You can change it to any other mouse button or even to key combination. Simply change properties like TInputShortcut.Key1 or TInputShortcut.MouseButtonUse.


Generated by PasDoc 0.15.0.