ImageGear .NET v25.2 - Updated
LookAt Method




ImageGear.Formats.Vector Assembly > ImageGear.Formats.CAD Namespace > CADCamera Class : LookAt Method
X-coordinate to aim camera at.
Y-coordinate to aim camera at.
Z-coordinate to aim camera at.
Points camera to point in space
Syntax
'Declaration
 
Public Sub LookAt( _
   ByVal x As Double, _
   ByVal y As Double, _
   ByVal z As Double _
) 
'Usage
 
Dim instance As CADCamera
Dim x As Double
Dim y As Double
Dim z As Double
 
instance.LookAt(x, y, z)
public void LookAt( 
   double x,
   double y,
   double z
)
public: void LookAt( 
   double x,
   double y,
   double z
) 
public:
void LookAt( 
   double x,
   double y,
   double z
) 

Parameters

x
X-coordinate to aim camera at.
y
Y-coordinate to aim camera at.
z
Z-coordinate to aim camera at.
Remarks
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

Is this page helpful?
Yes No
Thanks for your feedback.