public class CircleShaderRenderer extends ShaderRenderer
batch, fragmentShaderInclude, h, shader, tex, textureCount, vertexShader, w| Constructor and Description |
|---|
CircleShaderRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
render()
Render the shader.
|
void |
setColor(Vector3 col)
Set the circle color.
|
void |
setPosition(Vector2 center)
Set the circle position.
|
void |
setRadius(float value)
Set the circle radius.
|
addEmptyTexture, addTexture, addTexture, dispose, render, setTexture, setUniform, setUniform, setUniform, setUniform, setUniform, setUniformpublic void render()
public void setRadius(float value)
value - the radius of the shaderpublic void setColor(Vector3 col)
col - the circle color (RGB value)public void setPosition(Vector2 center)
Copyright © 2014-2016 gdx2d - https://github.com/hevs-isi/gdx2d