org.rajawali3d.materials / Material / useVertexColors

useVertexColors

open fun useVertexColors(value: Boolean): Unit

Indicates that this material should use a color value for every vertex. These colors are contained in a separate color buffer.

Parameters

value - Boolean: A boolean indicating whether vertex colors should be used or not

open fun useVertexColors(value: Boolean): Unit

Indicates that this material should use a color value for every vertex. These colors are contained in a separate color buffer.

Parameters

value - Boolean: A boolean indicating whether vertex colors should be used or not