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: 23.2.417.0 (23.2.417.0)
public void AlignToAxis(
	CentralBody centralBody,
	Cartesian axis


Type: AGI.Foundation.CelestialCentralBody
The central body that the marker will point towards the axis of.
Type: AGI.Foundation.CoordinatesCartesian
The axis to align each marker's up vector to.
See Also