Camera.Target Property

Gets or sets camera aiming point.
Public Property Target() As Point3D
This language is not supported or no code example is available.
public Point3D Target {get; set;}
This language is not supported or no code example is available.

Property Value

Point3D
Remarks
 
The set is allowed only if NavigationSettings.Mode is 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();
 					
This language is not supported or no code example is available.
 MyViewport.Camera.Target = New Point3D(0, 0, 100)
 MyViewport.AdjustNearAndFarPlanes()
 					
This language is not supported or no code example is available.

.NET Framework

Supported in: 4.8

In this article

Definition