com.jme3.scene.plugins.blender.materials
Class MaterialContext
java.lang.Object
com.jme3.scene.plugins.blender.materials.MaterialContext
public final class MaterialContext
- extends java.lang.Object
This class holds the data about the material.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MTEX_COL
public static final int MTEX_COL
- See Also:
- Constant Field Values
MTEX_NOR
public static final int MTEX_NOR
- See Also:
- Constant Field Values
MTEX_SPEC
public static final int MTEX_SPEC
- See Also:
- Constant Field Values
MTEX_EMIT
public static final int MTEX_EMIT
- See Also:
- Constant Field Values
MTEX_ALPHA
public static final int MTEX_ALPHA
- See Also:
- Constant Field Values
applyMaterial
public void applyMaterial(Geometry geometry,
java.lang.Long geometriesOMA,
java.util.List<Vector2f> userDefinedUVCoordinates,
BlenderContext blenderContext)
hasGeneratedTextures
public boolean hasGeneratedTextures()
- Returns:
- true if the material has at least one generated texture and false otherwise
setFaceCullMode
public void setFaceCullMode(RenderState.FaceCullMode faceCullMode)
- This method sets the face cull mode.
- Parameters:
faceCullMode
- the face cull mode
getFaceCullMode
public RenderState.FaceCullMode getFaceCullMode()
- Returns:
- the face cull mode