com.jmex.bui.background
Class TintedBackground
java.lang.Object
com.jmex.bui.background.BBackground
com.jmex.bui.background.TintedBackground
public class TintedBackground
- extends BBackground
Displays a partially transparent solid color in the background.
|
Field Summary |
protected com.jme.renderer.ColorRGBA |
_color
|
|
Constructor Summary |
TintedBackground(com.jme.renderer.ColorRGBA color)
Creates a tinted background with the specified color. |
|
Method Summary |
void |
render(com.jme.renderer.Renderer renderer,
int x,
int y,
int width,
int height,
float alpha)
Renders this background. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_color
protected com.jme.renderer.ColorRGBA _color
TintedBackground
public TintedBackground(com.jme.renderer.ColorRGBA color)
- Creates a tinted background with the specified color.
render
public void render(com.jme.renderer.Renderer renderer,
int x,
int y,
int width,
int height,
float alpha)
- Description copied from class:
BBackground
- Renders this background.
- Overrides:
render in class BBackground
- Parameters:
renderer - Rendererx - inty - intwidth - intheight - intalpha - float
Copyright © 2011 Michael Bayne.
All Rights Reserved.