TriangleMeshPrimitiveOptionalParametersSetPerVertexColors Method |
Defines a collection of colors.
Namespace:
AGI.Foundation.Graphics
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public void SetPerVertexColors(
IEnumerable<Color> colors
)
Public Sub SetPerVertexColors (
colors As IEnumerable(Of Color)
)
public:
void SetPerVertexColors(
IEnumerable<Color>^ colors
)
member SetPerVertexColors :
colors : IEnumerable<Color> -> unit
Parameters
- colors
- Type: System.Collections.GenericIEnumerableColor
The colors for each vertex in the mesh. There must be one color for
each position passed to the
TriangleMeshPrimitive's
Set method.
See Also