Controls the color of the material (defaults to white)
Material2
Private colorPrivate colorControls the draw mode of the material (one of gl.POINTS, gl.LINES, gl.LINE_STRIP, gl.LINE_LOOP, gl.TRIANGLES, gl.TRIANGLE_STRIP, gl.TRIANGLE_FAN)
Material2
Private Readonly glPrivate layerPrivate modelPrivate positionPrivate texControls the texture of the material. Can be null, meaning no texture.
Material2
Private texturePrivate useControls the visibility of the material (false = hidden)
Material2
Static shaderShaders to use for all materials
Material2
Generated using TypeDoc
Represents a Material for use in 2D graphics
Export