com.jme3.material
Class MatParamTexture
java.lang.Object
com.jme3.material.MatParam
com.jme3.material.MatParamTexture
- All Implemented Interfaces:
- Savable, java.lang.Cloneable
public class MatParamTexture
- extends MatParam
Methods inherited from class com.jme3.material.MatParam |
clone, equals, getFixedFuncBinding, getName, getPrefixedName, getValue, getValueAsString, getVarType, hashCode, setValue, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
MatParamTexture
public MatParamTexture(VarType type,
java.lang.String name,
Texture texture,
int unit)
MatParamTexture
public MatParamTexture()
getTextureValue
public Texture getTextureValue()
setTextureValue
public void setTextureValue(Texture value)
setUnit
public void setUnit(int unit)
getUnit
public int getUnit()
apply
public void apply(Renderer r,
Technique technique)
write
public void write(JmeExporter ex)
throws java.io.IOException
- Specified by:
write
in interface Savable
- Overrides:
write
in class MatParam
- Throws:
java.io.IOException
read
public void read(JmeImporter im)
throws java.io.IOException
- Specified by:
read
in interface Savable
- Overrides:
read
in class MatParam
- Throws:
java.io.IOException