com.jme.util
Class BumpMapColorController
java.lang.Object
com.jme.scene.Controller
com.jme.util.BumpMapColorController
- All Implemented Interfaces:
- Savable, java.io.Serializable
public class BumpMapColorController
- extends Controller
- See Also:
- Serialized Form
Methods inherited from class com.jme.scene.Controller |
getClassTag, getControllerValues, getMaxTime, getMinTime, getRepeatType, getSpeed, isActive, setActive, setControllerValues, setMaxTime, setMinTime, setRepeatType, setSpeed |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BumpMapColorController
public BumpMapColorController()
BumpMapColorController
public BumpMapColorController(Spatial attachedTo)
add
protected void add(TriMesh toManage)
updateMeshList
protected void updateMeshList()
addChildren
protected void addChildren(Node parent)
update
public void update(float time)
- Description copied from class:
Controller
- Defined by extending classes,
update
is a signal to
Controller that it should update whatever object(s) it is controlling.
- Specified by:
update
in class Controller
- Parameters:
time
- The time in seconds between the last call to update and the
current one
getAttachedTo
public Spatial getAttachedTo()
setAttachedTo
public void setAttachedTo(Spatial attachedTo)
write
public void write(JMEExporter e)
throws java.io.IOException
- Specified by:
write
in interface Savable
- Overrides:
write
in class Controller
- Throws:
java.io.IOException
read
public void read(JMEImporter e)
throws java.io.IOException
- Specified by:
read
in interface Savable
- Overrides:
read
in class Controller
- Throws:
java.io.IOException
isUsePerVertex
public boolean isUsePerVertex()
setUsePerVertex
public void setUsePerVertex(boolean usePerVertex)
isInvertY
public boolean isInvertY()
- Returns:
true
, if the Y axis of the bump map texture
(green channel) is interpreted as inverted
setInvertY
public void setInvertY(boolean invertY)
- Defines whether the Y axis of the bump map texture (green channel) should
be interpreted as inverted. Default is
true
- Parameters:
invertY
- true
to invert the Y axis