Click or drag to resize

MarkerBatchPrimitiveOptionalParametersSetColors Method

Defines a collection of colors, 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)
Syntax
public void SetColors(
	IEnumerable<Color> colors
)

Parameters

colors
Type: System.Collections.GenericIEnumerableColor
The colors for each marker in the batch. There must be one color for each position passed to the MarkerBatchPrimitive's Set or SetPartial method.
Remarks

If per-marker or per-batch textures are used, the texture is modulated with the per-marker color defined with SetColors.

Per-marker colors override the per-batch color. Therefore, when per-marker colors are defined with this method, the marker batch's Color property is ignored.

See Also