org.jdesktop.wonderland.client.jme.cellrenderer
Class AvatarJME

java.lang.Object
  extended by org.jdesktop.wonderland.client.jme.cellrenderer.BasicRenderer
      extended by org.jdesktop.wonderland.client.jme.cellrenderer.AvatarJME
All Implemented Interfaces:
CellRenderer, CellRendererJME

public class AvatarJME
extends BasicRenderer

Renderer for Avatar, looks strangely like a teapot at the moment...

Author:
paulby

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jdesktop.wonderland.client.jme.cellrenderer.BasicRenderer
BasicRenderer.AssetResourceLocator, BasicRenderer.MoveProcessor
 
Field Summary
 
Fields inherited from class org.jdesktop.wonderland.client.jme.cellrenderer.BasicRenderer
cell, entity, logger, moveProcessor, rootNode, sceneRoot
 
Constructor Summary
AvatarJME(Cell cell)
           
 
Method Summary
protected  com.jme.scene.Node createSceneGraph(org.jdesktop.mtgame.Entity entity)
          Create the scene graph.
 com.jme.scene.Node createTeapotEntity(java.lang.String name, com.jme.renderer.ColorRGBA color)
           
 
Methods inherited from class org.jdesktop.wonderland.client.jme.cellrenderer.BasicRenderer
addDefaultComponents, addRenderState, applyTransform, cellTransformUpdate, cleanupSceneGraph, createEntity, entityAddChild, getAssetURL, getCell, getEntity, getSceneRoot, getStatus, isCollisionEnabled, setBackfaceCullingEnabled, setCollisionEnabled, setLightingEnabled, setPickingEnabled, setStatus, setupCollision, setupPhysics, setupPhysicsCollision
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvatarJME

public AvatarJME(Cell cell)
Method Detail

createSceneGraph

protected com.jme.scene.Node createSceneGraph(org.jdesktop.mtgame.Entity entity)
Description copied from class: BasicRenderer
Create the scene graph. The node returned will have default components set to handle collision and rendering. The returned graph will also automatically be positioned correctly with the cells transform. This is achieved by adding the returned Node to a rootNode for this renderer which automatically tracks the cells transform.

Specified by:
createSceneGraph in class BasicRenderer
Returns:

createTeapotEntity

public com.jme.scene.Node createTeapotEntity(java.lang.String name,
                                             com.jme.renderer.ColorRGBA color)


Open Wonderland - http://openwonderland.org