Eyeshot 10 WinForms API Reference
OrientCamera Method (Viewport)

WinForms Assembly > devDept.Eyeshot Namespace > Viewport Class : OrientCamera Method
The camera location
The new camera target
Orients the Camera between the two specified points.
Syntax
'Declaration
 
Public Overridable Sub OrientCamera( _
   ByVal location As Point3D, _
   ByVal target As Point3D _
) 
public virtual void OrientCamera( 
   Point3D location,
   Point3D target
)

Parameters

location
The camera location
target
The new camera target
Remarks
The orientation of the camera is performed with an animation if ViewportLayout.AnimateCamera is trueThe parameter is used just ot determine the direction. The final Location depends on the target and the Camera.Distance
See Also

Reference

Viewport Class
Viewport Members