Class TAbstractPointingDeviceSensorNode

Unit

Declaration

type TAbstractPointingDeviceSensorNode = class(TAbstractSensorNode)

Description

Base type for all pointing device sensors.

Hierarchy

Overview

Methods

Public procedure CreateNode; override;
Public procedure Activate(const Time: TX3DTime; const ATransform, AInvertedTransform: TMatrix4; const OverPoint: TVector3); virtual;
Public procedure Deactivate(const Time: TX3DTime); virtual;

Properties

Public property FdDescription: TSFString read FFdDescription;
Public property EventIsOver: TSFBoolEvent read FEventIsOver;
Public property Description: string read GetDescription write SetDescription;

Description

Methods

Public procedure CreateNode; override;
 
Public procedure Activate(const Time: TX3DTime; const ATransform, AInvertedTransform: TMatrix4; const OverPoint: TVector3); virtual;

Activate pointing device sensor. Used by the events engine (like TCastleSceneCore) to notify this sensor.

OverPoint indicates 3D point (in global, that is TCastleSceneCore, coordinates) pointed by the mouse.

In TAbstractPointingDeviceSensorNode class, this simply sends isActive := TRUE event.

Public procedure Deactivate(const Time: TX3DTime); virtual;

Deactivate pointing device sensor. Used by the events engine (like TCastleSceneCore) to notify this sensor.

In TAbstractPointingDeviceSensorNode class, this simply sends isActive := FALSE event.

Properties

Public property FdDescription: TSFString read FFdDescription;
 
Public property EventIsOver: TSFBoolEvent read FEventIsOver;
 
Public property Description: string read GetDescription write SetDescription;
 

Generated by PasDoc 0.15.0.