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: 23.1.416.0 (23.1.416.0)
Syntaxpublic void SetColors(
IEnumerable<Color> colors
)
Public Sub SetColors (
colors As IEnumerable(Of Color)
)
public:
void SetColors(
IEnumerable<Color>^ colors
)
member SetColors :
colors : IEnumerable<Color> -> unit
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