JavaScript Application Programming Interface (API) for AutoCAD
|
Autodesk.AutoCAD.js
function Acad.Editor.CurrentViewport.pan(angleX,angleY,animate);
Parameters |
Description |
angleX |
type double
|
angleY |
type double
|
animate |
is Boolean |
Use this function to pan the camera. During pan, the camera position and distance from position to target remains fixed; the camera target moves along the surface of a sphere described by these constraints.
The angleX and angleY parameters are in radians and correspond to angles traversed on this sphere along the cross product of the up vector and the eye vector (angleX) and along the up vector (angleY). The angleX component of the pan is performed before the angleY component.
Copyright (c) 2016. All rights reserved.
|
What do you think about this topic? Send feedback!
|