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.
Class TCastleTouchNavigation Show draggable controls in the corner, to navigate in the viewport comfortably on touch devices.
Class TSerializedComponentHelper Helper methods extending TSerializedComponent.

Types

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

Variables

Input_Interact: TInputShortcut;

Description

Types

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

Event for TCastleViewport.OnProjection.

TTouchInterface = (...);

Value for TCastleTouchNavigation.TouchInterface.

Values
  • tiNone
  • tiWalk
  • tiWalkRotate
  • tiFlyWalk
  • tiPan

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.16.0.