Method SetViewAngles
- Namespace
- vdWebLibrary
- Assembly
- JsPropertiesExtractor.dll
SetViewAngles(double, double, double, object)
Modify the current World to View Matrix using azimouth, tilt and twist angles that specify the view direction relative to World Coordinate System.
public void SetViewAngles(double azimouth, double tilt, double twist, object origin)
Parameters
azimouthdoubleWatching angle on XY plane relative to X axis in radians in clockwise direction.
tiltdoubleVertical watching angle relative to XY plane in radians.
twistdoubleRotation of the created matrix from azimouth and tilt , about Z in radians in clockwise direction.
originobjectA 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.