com.jme.util
Class BumpMapColorController

java.lang.Object
  extended by com.jme.scene.Controller
      extended by com.jme.util.BumpMapColorController
All Implemented Interfaces:
Savable, java.io.Serializable

public class BumpMapColorController
extends Controller

See Also:
Serialized Form

Nested Class Summary
(package private)  class BumpMapColorController.BumpStore
           
(package private)  class BumpMapColorController.BumpVert
           
 
Field Summary
 
Fields inherited from class com.jme.scene.Controller
RT_CLAMP, RT_CYCLE, RT_WRAP
 
Constructor Summary
BumpMapColorController()
           
BumpMapColorController(Spatial attachedTo)
           
 
Method Summary
protected  void add(TriMesh toManage)
           
protected  void addChildren(Node parent)
           
 Spatial getAttachedTo()
           
 boolean isInvertY()
           
 boolean isUsePerVertex()
           
 void read(JMEImporter e)
           
 void setAttachedTo(Spatial attachedTo)
           
 void setInvertY(boolean invertY)
          Defines whether the Y axis of the bump map texture (green channel) should be interpreted as inverted.
 void setUsePerVertex(boolean usePerVertex)
           
 void update(float time)
          Defined by extending classes, update is a signal to Controller that it should update whatever object(s) it is controlling.
protected  void updateMeshList()
           
 void write(JMEExporter e)
           
 
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
 

Constructor Detail

BumpMapColorController

public BumpMapColorController()

BumpMapColorController

public BumpMapColorController(Spatial attachedTo)
Method Detail

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