Click or drag to resize

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.1.418.0 (24.1.418.0)
Syntax
public void AlignToAxis(
	CentralBody centralBody,
	Cartesian axis
)

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