public final class MeshFaceMaterial extends Material
Material.BLENDING, Material.COLORS, Material.SHADING, Material.SIDE
Constructor and Description |
---|
MeshFaceMaterial() |
MeshFaceMaterial(java.util.List<Material> materials)
Creates a MeshFaceMaterial with the correct materials.
|
Modifier and Type | Method and Description |
---|---|
MeshFaceMaterial |
clone() |
Shader |
getAssociatedShader() |
java.util.List<Material> |
getMaterials()
Get or set the materials for the geometry.
|
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, refreshUniforms, setAlphaTest, setBlendDst, setBlendEquation, setBlending, setBlendSrc, setDepthTest, setDepthWrite, setName, setNeedsUpdate, setOpacity, setPolygonOffset, setPolygonOffsetFactor, setPolygonOffsetUnits, setShader, setShadowPass, setSide, setTransparent, setVisible, toString, updateProgramParameters
public MeshFaceMaterial()
public MeshFaceMaterial(java.util.List<Material> materials)
materials
- The materials for the geometry.public java.util.List<Material> getMaterials()
public Shader getAssociatedShader()
public MeshFaceMaterial clone()