public final class PointCloudMaterial extends Material implements HasFog, HasColor, HasMap, HasVertexColors, HasEventBus
Material.BLENDING, Material.COLORS, Material.SHADING, Material.SIDE
EVENT_BUS
Constructor and Description |
---|
PointCloudMaterial() |
Modifier and Type | Method and Description |
---|---|
PointCloudMaterial |
clone() |
Shader |
getAssociatedShader() |
Color |
getColor()
Gets material color
|
Texture |
getMap() |
double |
getSize() |
boolean |
isFog()
Define whether the material color is affected by global fog settings.
|
boolean |
isSizeAttenuation() |
Material.COLORS |
isVertexColors()
Get how the vertices gets colored.
|
void |
refreshUniforms(Camera camera,
boolean isGammaInput) |
void |
setColor(Color color)
Sets material color
|
void |
setFog(boolean fog) |
void |
setMap(Texture map) |
void |
setSize(double size) |
void |
setSizeAttenuation(boolean sizeAttenuation) |
void |
setVertexColors(Material.COLORS vertexColors)
Define how the vertices gets colored.
|
bufferGuessUVType, bufferGuessVertexColorType, buildShader, clone, deallocate, getAlphaTest, getBlendDst, getBlendEquation, getBlending, getBlendSrc, getBufferMaterial, getId, getName, getOpacity, getPolygonOffsetFactor, getPolygonOffsetUnits, getShader, getSides, isDepthTest, isDepthWrite, isNeedsUpdate, isPolygonOffset, isShadowPass, isTransparent, isVisible, materialNeedsSmoothNormals, setAlphaTest, setBlendDst, setBlendEquation, setBlending, setBlendSrc, setDepthTest, setDepthWrite, setName, setNeedsUpdate, setOpacity, setPolygonOffset, setPolygonOffsetFactor, setPolygonOffsetUnits, setShader, setShadowPass, setSide, setTransparent, setVisible, toString, updateProgramParameters
public double getSize()
public void setSize(double size)
public boolean isSizeAttenuation()
public void setSizeAttenuation(boolean sizeAttenuation)
public Shader getAssociatedShader()
public boolean isFog()
HasFog
public void setColor(Color color)
HasColor
public Material.COLORS isVertexColors()
HasVertexColors
Material.COLORS
NO.isVertexColors
in interface HasVertexColors
public void setVertexColors(Material.COLORS vertexColors)
HasVertexColors
Material.COLORS
. Default is Material.COLORS
NO.setVertexColors
in interface HasVertexColors
public PointCloudMaterial clone()
public void refreshUniforms(Camera camera, boolean isGammaInput)
refreshUniforms
in class Material