Click or drag to resize

MarkerBatchPrimitiveOptionalParametersSetRotations Method

Defines a collection of rotation angles in radians, one for each marker in the batch.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.1.418.0 (24.1.418.0)
public void SetRotations(
	IEnumerable<double> rotationAngles


Type: System.Collections.GenericIEnumerableDouble
The rotation angles for each marker in the batch. There must be one rotation angle for each position passed to the MarkerBatchPrimitive's Set or SetPartial method.

Positive rotation angles rotate counter-clockwise in screen-space.

Per-marker rotation angles override the per-batch rotation angle. Therefore, when per-marker rotation angles are defined with this method, MarkerBatchPrimitive.Rotation is not used.

See Also