Tesla Graphics Engine Documentation (January 2012)
SetRandomColors Method
TeslaTesla.SceneMeshSetRandomColors()()()()
Members
Icon Member Description
SetRandomColors(Single)
Sets random colors with constant alpha in the geometry, matching the number of vertices. If none are present, the method will return. If the geometry already has colors, it will update the vertex buffer and not reconstruct it, otherwise it will rebuild the vertex buffer.

SetRandomColors()()()()
Sets random colors in the geometry, matching the number of vertices. If none are present, the method will return. If the geometry already has colors, it will update the vertex buffer and not reconstruct it.

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)