Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / Camera Class / Target Property
Example

In This Topic
    Target Property (Camera)
    In This Topic
    Gets or sets camera aiming point.
    Syntax
    'Declaration
     
    Public Property Target As Point3D
    public Point3D Target {get; set;}
    Remarks
    The set is allowed only if NavigationMode is Camera.navigationType.Examine, otherwise the Location must be changed to move the camera.
    Example
    The following code fragment demonstrates how to set a new camera target point.
    myViewport.Camera.Target = new Point3D(0, 0, 100);
    myViewport.AdjustNearAndFarPlanes();
    MyViewport.Camera.Target = New Point3D(0, 0, 100)
    MyViewport.AdjustNearAndFarPlanes()
    See Also