Camera.ViewCentralBody Method (CentralBody, Axes, Point) |
Zoom to a central body and use the specified axes for rotation. The reference point is set to the center of the central body.
Namespace:
AGI.Foundation.Graphics
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic void ViewCentralBody(
CentralBody centralBody,
Axes axes,
Point cameraPosition
)
Public Sub ViewCentralBody (
centralBody As CentralBody,
axes As Axes,
cameraPosition As Point
)
public:
void ViewCentralBody(
CentralBody^ centralBody,
Axes^ axes,
Point^ cameraPosition
)
member ViewCentralBody :
centralBody : CentralBody *
axes : Axes *
cameraPosition : Point -> unit
Parameters
- centralBody
- Type: AGI.Foundation.Celestial.CentralBody
The CentralBody to be viewed. - axes
- Type: AGI.Foundation.Geometry.Axes
The Axes of rotation. Axes will be set to this. - cameraPosition
- Type: AGI.Foundation.Geometry.Point
The Point that will be evaluated at the animation time to get Position.
See Also