CameraViewCentralBody Method |
Zoom to a central body and use the specified axes for rotation. The reference point is set to the center of the central body and the camera's position is set so the entire central body is visible.
Namespace:
AGI.Foundation.Graphics
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public void ViewCentralBody(
CentralBody centralBody,
Axes axes
)
Public Sub ViewCentralBody (
centralBody As CentralBody,
axes As Axes
)
public:
void ViewCentralBody(
CentralBody^ centralBody,
Axes^ axes
)
member ViewCentralBody :
centralBody : CentralBody *
axes : Axes -> unit
Parameters
- centralBody
- Type: AGI.Foundation.CelestialCentralBody
The CentralBody to be viewed. - axes
- Type: AGI.Foundation.GeometryAxes
The Axes of rotation. Axes will be set to this.
See Also