MarkerBatchPrimitiveAlignToAxis Method |
Sets the up vector of the markers to point towards the
axis of
centralBody. It will be
aligned with the tangent vector of the surface that points towards the
axis.
Setting
axis to the north axis of the
centralBody
will have the same effect as calling
MarkerBatchPrimitive.AlignToNorth.
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 AlignToAxis(
CentralBody centralBody,
Cartesian axis
)
Public Sub AlignToAxis (
centralBody As CentralBody,
axis As Cartesian
)
public:
void AlignToAxis(
CentralBody^ centralBody,
Cartesian axis
)
member AlignToAxis :
centralBody : CentralBody *
axis : Cartesian -> unit
Parameters
- centralBody
- Type: AGI.Foundation.CelestialCentralBody
The central body that the marker will point towards the axis of. - axis
- Type: AGI.Foundation.CoordinatesCartesian
The axis to align each marker's up vector to.
See Also