|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.render.RenderPass
org.xith3d.render.BackgroundRenderPass
org.xith3d.scenegraph.primitives.BackgroundImage
public class BackgroundImage
A simple background image for the scene.
It covers the whole canvas.
| Constructor Summary | |
|---|---|
BackgroundImage(java.lang.String texture,
float aspectRatio)
|
|
BackgroundImage(Texture texture,
float aspectRatio)
|
|
| Method Summary | |
|---|---|
Texture |
getTexture()
|
void |
setTexture(java.lang.String texture)
Sets the Texture of the background image. |
void |
setTexture(Texture texture)
Sets the Texture of the background image. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BackgroundImage(Texture texture,
float aspectRatio)
public BackgroundImage(java.lang.String texture,
float aspectRatio)
| Method Detail |
|---|
public void setTexture(Texture texture)
texture - public void setTexture(java.lang.String texture)
texture - the texture resource name (loaded without alpha channel)public Texture getTexture()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||