fmeobjects.FMEMesh.appendVerticesColored

FMEMesh.appendVerticesColored(pointsColorsAndHasColor)

Appends the vertices to the end of the vertex list using color information provided.

This method will assume that passed vertices are in local coordinates (i.e. the transformation matrix will be applied to these vertices).

The hasColor flag specifies whether a valid color exists at that vertex index.

Parameters:

pointsColorsAndHasColor (list[tuple[float, bool]]) – The list of tuple of vertices, colors, and has color flag to be added. A tuple is in the form (x, y, z, r, g, b, hasColor), where vertices are the x, y, z as floats, color components are r, g, b as floats, and the hasColor is a bool.

Return type:

None