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

In This Topic
    Distance Property (Camera)
    In This Topic
    Gets or sets the distance between camera and target point.
    Syntax
    'Declaration
     
    Public Property Distance As Double
    public double Distance {get; set;}
    Remarks
    Must be bigger than zero.
    Example
    The following code fragment demonstrates how to set a new camera distance from the target point.
    myViewport.Camera.Distance = 400;
    myViewport.AdjustNearAndFarPlanes();
    MyViewport.Camera.Distance = 400
    MyViewport.AdjustNearAndFarPlanes()
    See Also