ImageGear .NET v25.0 - Updated
Roll(Double,Double,Double) Method




ImageGear.Formats.Vector Assembly > ImageGear.Formats.CAD Namespace > CADCamera Class > Roll Method : Roll(Double,Double,Double) Method
Angle, in radians, to roll camera.
X-coordinate for point to rotate around.
Y-coordinate for point to rotate around.
Rolls camera, around point in screen-space.
Syntax
'Declaration
 
Public Overloads Sub Roll( _
   ByVal angle As Double, _
   ByVal x As Double, _
   ByVal y As Double _
) 
'Usage
 
Dim instance As CADCamera
Dim angle As Double
Dim x As Double
Dim y As Double
 
instance.Roll(angle, x, y)
public void Roll( 
   double angle,
   double x,
   double y
)
public: void Roll( 
   double angle,
   double x,
   double y
) 
public:
void Roll( 
   double angle,
   double x,
   double y
) 

Parameters

angle
Angle, in radians, to roll camera.
x
X-coordinate for point to rotate around.
y
Y-coordinate for point to rotate around.
Remarks

Rolling the camera means: rotating the camera around it's "forward" axis.

Will invalidate camera's ImGearCADPage, so if viewing in a ImGearPageView you must do ImGearPageView.Update() to see changes.

See Also

Reference

CADCamera Class
CADCamera Members
Overload List