TriangleMeshPrimitiveOptionalParametersSetPerVertexColors Method |
Defines a collection of colors.
Namespace:
AGI.Foundation.Graphics
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.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