Click or drag to resize

TriangleMeshPrimitiveOptionalParametersSetPerVertexColors Method

Defines a collection of colors.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 19.5.402.0 (19.5.402.0)
Syntax
public void SetPerVertexColors(
	IEnumerable<Color> colors
)

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