public abstract class AbstractPlantView extends AbstractView
Constructor and Description |
---|
AbstractPlantView(java.lang.String name,
com.jme3.material.Material material)
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
setBaseColor(com.jme3.math.ColorRGBA color)
Sets the base or primary color used when rendering the controller's view.
|
void |
setWireFrame(boolean wireFrame)
Configure's the view to be rendered with a wire frame or not.
|
dispose, setLocation, setParentNode, setRotation
public AbstractPlantView(java.lang.String name, com.jme3.material.Material material)
geometry
for the
view.name
- The name of the view's root node.material
- The jME3 Material that should be used for the view's geometry.
Must not be null.public void setWireFrame(boolean wireFrame)
wireFrame
- Whether or not to render the view as a wire frame.public void setBaseColor(com.jme3.math.ColorRGBA color)
color
- The new base color of the view.