Modifier and Type | Field and Description |
---|---|
static int |
FLAG_TRANSPARENT |
static int |
MTEX_ALPHA |
static int |
MTEX_AMB |
static int |
MTEX_COL |
static int |
MTEX_EMIT |
static int |
MTEX_NOR |
static int |
MTEX_SPEC |
Modifier and Type | Method and Description |
---|---|
void |
applyMaterial(Geometry geometry,
java.lang.Long geometriesOMA,
java.util.Map<java.lang.String,java.util.List<Vector2f>> userDefinedUVCoordinates,
BlenderContext blenderContext)
Applies material to a given geometry.
|
java.lang.String |
getName() |
boolean |
hasGeneratedTextures() |
void |
read(JmeImporter e) |
void |
setFaceCullMode(RenderState.FaceCullMode faceCullMode)
This method sets the face cull mode.
|
void |
write(JmeExporter e) |
public static final int MTEX_COL
public static final int MTEX_NOR
public static final int MTEX_SPEC
public static final int MTEX_EMIT
public static final int MTEX_ALPHA
public static final int MTEX_AMB
public static final int FLAG_TRANSPARENT
public java.lang.String getName()
public void applyMaterial(Geometry geometry, java.lang.Long geometriesOMA, java.util.Map<java.lang.String,java.util.List<Vector2f>> userDefinedUVCoordinates, BlenderContext blenderContext)
geometry
- the geometrygeometriesOMA
- the geometries OMAuserDefinedUVCoordinates
- UV coords defined by userblenderContext
- the blender contextpublic boolean hasGeneratedTextures()
public void setFaceCullMode(RenderState.FaceCullMode faceCullMode)
faceCullMode
- the face cull modepublic void write(JmeExporter e) throws java.io.IOException
public void read(JmeImporter e) throws java.io.IOException