A SERVICE OF

logo

csSphereSensor
127
csSphereSensor Events
A csSphereSensor begins generating events when both of the following conditions are
met:
The pointer device cursor is depressed over geometry associated with a
csSphereSensor.
csSphereSensors are updated to determine whether the pointer device cursor is
depressed while over a geometry associated with a csSphereSensor.
While the csSphereSensor is active, it generates rotation and trackPoint events. Rotation
events represent the orientation of a geometry on the virtual sphere. trackPoint
represents the position of the pointer device cursor on the virtual sphere, as shown in
Figure 11-1.
Figure 11-1 Rotation and trackPoint Representations
The csSphereSensor stops generating events when the pointer device is released.
-z
z
x
-x
y
-y
Pointer device
cursor location
Geometry
orientation