Eyeshot 10 WinForms API Reference
Rotation Property (Camera)
Example 

WinForms Assembly > devDept.Eyeshot Namespace > Camera Class : Rotation Property
3D rotation.
Syntax
'Declaration
 
Public Property Rotation As Quaternion
public Quaternion Rotation {get; set;}
Example
The following code fragment demonstrates how to set a rotation of 30 degrees about the X axis and 60 degrees about the Z axis. The default rotation coincide with the model Right view.
myViewport.Camera.Rotation = (new Quaternion(Vector3D.AxisZ, 60)) * (new Quaternion(Vector3D.AxisY, 30));
myViewport.AdjustNearAndFarPlanes();
MyViewport.Camera.Rotation = (New Quaternion(Vector3D.AxisZ, 60)) * (New Quaternion(Vector3D.AxisY, 30))
MyViewport.AdjustNearAndFarPlanes()
See Also

Reference

Camera Class
Camera Members
AdjustNearAndFarPlanes Method (devDept.Eyeshot.Viewport)