viewportProcessOrbitStart

Starts the process of camera orbiting on the viewport.

Details

The "ViewportProcess*()" functions are called by the "ViewportEvent*()" functions the moment an event is fired that triggers the respective movemente mode. (For further explanations about the "ViewportEvent*()" functions see ref_cameraEventTouchStart). The "ViewportProcess*()" functions check whether the requested process can be started/ stopped/performed and execute this.

For each movement mode there typically exists one function of type "ViewportProcess*()" for starting the process, one for performing an incremental movement step and one for stopping the process. There may be deviations from that rule for some some movement modes.

Remark

Since they depend on hardware input, the "ViewportProcess*()" functions may get called multiple times in a row.

Parameters

nClientX_i

Horizontal coordinate (according to the client area) of the mouse pointer or finger position that starts the process.

nClientY_i

Vertical coordinate (according to the client area) of the mouse pointer or finger position that starts the process.

See also