%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
SetViewAngles Method
See Also 
vdWebLibrary Namespace > vdrawObj Class : SetViewAngles Method
azimouth
Watching angle on XY plane relative to X axis in radians in clockwise direction.
tilt
Vertical watching angle relative to XY plane in radians.
twist
Rotation of the created matrix from azimouth and tilt , about Z in radians in clockwise direction.
origin
A point in World Coordinate System around which the rotations will be done.If it is not passed or it is null then the existing viewcenter (tranformed to active View to World Matrix) is used.
Modify the current World to View Matrix using azimouth, tilt and twist angles that specify the view direction relative to World Coordinate System.

Syntax

JScript 
public function SetViewAngles( 
   azimouth : double,
   tilt : double,
   twist : double,
   origin : Object
);

Parameters

azimouth
Watching angle on XY plane relative to X axis in radians in clockwise direction.
tilt
Vertical watching angle relative to XY plane in radians.
twist
Rotation of the created matrix from azimouth and tilt , about Z in radians in clockwise direction.
origin
A point in World Coordinate System around which the rotations will be done.If it is not passed or it is null then the existing viewcenter (tranformed to active View to World Matrix) is used.

See Also