public class PointSpriteMaterial extends Material implements IBlendable
Constructor and Description |
---|
PointSpriteMaterial(java.lang.String textureName,
float size,
Color color) |
Modifier and Type | Method and Description |
---|---|
Material |
copy() |
float |
getAlpha() |
Color |
getColor() |
Texture |
getTexture() |
java.lang.String |
getTextureName() |
void |
render(java.nio.FloatBuffer vertexBuffer,
float[] modelMatrix) |
void |
setAlpha(float alpha) |
void |
setColor(Color color) |
createVertexData, getBoneIndexParam, getBoneParam, getBoneWeightParam, getByteStride, getMVPMatrixHandle, getPositionHandle, getPositionOffset, getProgram, setAnimated
public PointSpriteMaterial(java.lang.String textureName, float size, Color color)
public void render(java.nio.FloatBuffer vertexBuffer, float[] modelMatrix)
public java.lang.String getTextureName()
public float getAlpha()
getAlpha
in interface IBlendable
public void setAlpha(float alpha)
setAlpha
in interface IBlendable
public Color getColor()
public void setColor(Color color)
public Texture getTexture()