SurfaceTool.addColor

Specifies a Color to use for the next vertex. If every vertex needs to have this information set and you fail to submit it for the first vertex, this information may not be used at all. Note: The material must have SpatialMaterial.vertexColorUseAsAlbedo enabled for the vertex color to be visible.

struct SurfaceTool
@nogc nothrow
void
addColor
(
in Color color
)

Meta