com.jme.scene
Class BumpMapNode
java.lang.Object
com.jme.scene.Spatial
com.jme.scene.Node
com.jme.scene.BumpMapNode
- All Implemented Interfaces:
- java.io.Serializable
- public class BumpMapNode
- extends Node
BumpMapNode
- Version:
- $id$
- Author:
- Mark Powell
- See Also:
- Serialized Form
| Fields inherited from class com.jme.scene.Spatial |
currentStates, defaultStateList, forceCull, forceView, frustrumIntersects, geometricalControllers, lightCombineMode, localRotation, localScale, localTranslation, name, parent, queueDistance, renderQueueMode, renderStateList, textureCombineMode, worldBound, worldRotation, worldScale, worldTranslation, zOrder |
| Methods inherited from class com.jme.scene.Node |
applyRenderState, attachChild, detachAllChildren, detachChild, detachChildAt, detachChildNamed, drawBounds, findCollisions, findPick, getChild, getChild, getChildren, getQuantity, hasChild, hasCollision, putClone, setChild, setForceView, updateCollisionTree, updateWorldData |
| Methods inherited from class com.jme.scene.Spatial |
addController, applyDefaultStates, calculateCollisions, calculatePick, clearCurrentState, clearCurrentStates, clearRenderState, getController, getControllers, getCurrentState, getLastFrustumIntersection, getLightCombineMode, getLocalRotation, getLocalScale, getLocalTranslation, getName, getParent, getRenderQueueMode, getRenderStateList, getTextureCombineMode, getWorldBound, getWorldRotation, getWorldScale, getWorldTranslation, getZOrder, isForceCulled, isForceView, onDraw, onDrawBounds, propagateBoundToRoot, propagateStatesFromRoot, removeController, removeFromParent, setForceCull, setLightCombineMode, setLocalRotation, setLocalRotation, setLocalScale, setLocalScale, setLocalTranslation, setName, setParent, setRenderQueueMode, setRenderState, setTextureCombineMode, setWorldBound, setZOrder, toString, updateGeometricState, updateRenderState, updateRenderState |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BumpMapNode
public BumpMapNode(Node objects,
Texture normalMap,
Light light,
boolean modulate)
getObjects
public Node getObjects()
getNormalMap
public Texture getNormalMap()
getTextureState
public TextureState getTextureState()
getLight
public Light getLight()
getAlphaState
public AlphaState getAlphaState()
isModulated
public boolean isModulated()
setCurrentAmbientMaterial
public void setCurrentAmbientMaterial(ColorRGBA color)
setCurrentDiffuseMaterial
public void setCurrentDiffuseMaterial(ColorRGBA color,
int maxTextureUnits)
computeLightVectors
public void computeLightVectors(TriMesh mesh)
updateWorldBound
public void updateWorldBound()
- Description copied from class:
Node
updateWorldBound merges the bounds of all the children
maintained by this node. This will allow for faster culling operations.
- Overrides:
updateWorldBound in class Node
- See Also:
Spatial.updateWorldBound()
draw
public void draw(Renderer r)
- Description copied from class:
Node
draw calls the onDraw method for each child maintained by
this node.
- Overrides:
draw in class Node
- Parameters:
r - the renderer to draw to.- See Also:
Spatial.draw(com.jme.renderer.Renderer)