Русский | English

Class TCastleLine2DGizmos

Unit

Declaration

type TCastleLine2DGizmos = class(TCastleScene)

Description

Geometry for editing descendants of TCastleLine2DBase in the CGE
editor Left mouse button - to double the point, move the point
Right mouse button - delete the point
Middle mouse button - open a window to edit the point
To enter edit mode, use "verb" (Edit mode ON) - right-click on the object in the object hierarchy window.

Hierarchy

Overview

Methods

Protected function LocalRayCollision(const RayOrigin, RayDirection: TVector3;const TrianglesToIgnoreFunc: TTriangleIgnoreFunc): TRayCollision; override;
Public function PointingDeviceMove(const Pick: TRayCollisionNode; const Distance: Single): Boolean; override;
Public function PointingDevicePress(const Pick: TRayCollisionNode; const Distance: Single): Boolean; override;
Public function PointingDeviceRelease(const Pick: TRayCollisionNode; const Distance: Single; const CancelAction: Boolean): Boolean; override;
Public function Press(const E: TInputPressRelease): boolean; override;
Public function Release(const E: TInputPressRelease): boolean; override;
Public constructor Create(AOwner: TComponent); override;
Public destructor Destroy; override;
Public procedure ReLoad;
Public Procedure Hide;
Public Procedure Show(ALine:TCastleLine2DBase);

Description

Methods

Protected function LocalRayCollision(const RayOrigin, RayDirection: TVector3;const TrianglesToIgnoreFunc: TTriangleIgnoreFunc): TRayCollision; override;
 
Public function PointingDeviceMove(const Pick: TRayCollisionNode; const Distance: Single): Boolean; override;
 
Public function PointingDevicePress(const Pick: TRayCollisionNode; const Distance: Single): Boolean; override;
 
Public function PointingDeviceRelease(const Pick: TRayCollisionNode; const Distance: Single; const CancelAction: Boolean): Boolean; override;
 
Public function Press(const E: TInputPressRelease): boolean; override;
 
Public function Release(const E: TInputPressRelease): boolean; override;
 
Public constructor Create(AOwner: TComponent); override;
 
Public destructor Destroy; override;
 
Public procedure ReLoad;

Build geometry again.

Public Procedure Hide;

Hide the object. Exit Editing mode

Public Procedure Show(ALine:TCastleLine2DBase);

Show the object. Enter Editing mode


Generated by PasDoc 0.16.0.