|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.scenegraph.primitives.FixedSizedBillboardFactory
public class FixedSizedBillboardFactory
A factory class to create FixedSizedBillboard instances with specific
parameters.
| Method Summary | |
|---|---|
static FixedSizedBillboard |
createColoredBillboard(float width,
float height,
org.openmali.vecmath2.Colorf color)
|
static FixedSizedBillboard |
createColoredBillboard(org.openmali.vecmath2.Tuple3f center,
float width,
float height,
org.openmali.vecmath2.Colorf color)
|
static FixedSizedBillboard |
createConstantSizedTextBillboard(java.lang.String text,
int alignment,
java.awt.Font font,
org.openmali.vecmath2.Colorf color)
|
static FixedSizedBillboard |
createConstantSizeTexturedBillboard(int screenWidth,
int screenHeight,
java.lang.String texture)
Creates a FixedSizedBillboard instance from the given Texture. |
static FixedSizedBillboard |
createConstantSizeTexturedBillboard(int screenWidth,
int screenHeight,
java.lang.String textureName,
org.openmali.vecmath2.Tuple2f textureLowerLeft,
org.openmali.vecmath2.Tuple2f textureUpperRight)
Creates a constant-size billboard from the given Texture and
texture coordinates. |
static FixedSizedBillboard |
createConstantSizeTexturedBillboard(int screenWidth,
int screenHeight,
Texture texture)
Creates a FixedSizedBillboard instance from the given Texture. |
static FixedSizedBillboard |
createConstantSizeTexturedBillboard(int screenWidth,
int screenHeight,
Texture texture,
org.openmali.vecmath2.Tuple2f textureLowerLeft,
org.openmali.vecmath2.Tuple2f textureUpperRight)
Creates a constant-size billboard from the given Texture and
texture coordinates. |
static FixedSizedBillboard |
createConstantSizeTexturedBillboard(java.lang.String texture)
Creates a FixedSizedBillboard instance from the given texture name. |
static FixedSizedBillboard |
createConstantSizeTexturedBillboard(Texture texture)
Creates a FixedSizedBillboard instance from the given Texture. |
static FixedSizedBillboard |
createTexturedBillboard(org.openmali.vecmath2.Tuple3f center,
float width,
float height,
java.lang.String textureName,
org.openmali.vecmath2.Tuple2f textureLowerLeft,
org.openmali.vecmath2.Tuple2f textureUpperRight)
|
static FixedSizedBillboard |
createTexturedBillboard(org.openmali.vecmath2.Tuple3f center,
float width,
float height,
Texture texture)
|
static FixedSizedBillboard |
createTexturedBillboard(org.openmali.vecmath2.Tuple3f center,
float width,
float height,
Texture texture,
org.openmali.vecmath2.Tuple2f textureLowerLeft,
org.openmali.vecmath2.Tuple2f textureUpperRight)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static FixedSizedBillboard createColoredBillboard(float width,
float height,
org.openmali.vecmath2.Colorf color)
public static FixedSizedBillboard createColoredBillboard(org.openmali.vecmath2.Tuple3f center,
float width,
float height,
org.openmali.vecmath2.Colorf color)
public static FixedSizedBillboard createTexturedBillboard(org.openmali.vecmath2.Tuple3f center,
float width,
float height,
Texture texture)
public static FixedSizedBillboard createTexturedBillboard(org.openmali.vecmath2.Tuple3f center,
float width,
float height,
Texture texture,
org.openmali.vecmath2.Tuple2f textureLowerLeft,
org.openmali.vecmath2.Tuple2f textureUpperRight)
public static FixedSizedBillboard createTexturedBillboard(org.openmali.vecmath2.Tuple3f center,
float width,
float height,
java.lang.String textureName,
org.openmali.vecmath2.Tuple2f textureLowerLeft,
org.openmali.vecmath2.Tuple2f textureUpperRight)
public static FixedSizedBillboard createConstantSizeTexturedBillboard(int screenWidth,
int screenHeight,
java.lang.String textureName,
org.openmali.vecmath2.Tuple2f textureLowerLeft,
org.openmali.vecmath2.Tuple2f textureUpperRight)
Texture and
texture coordinates.
screenWidth - desired width on screen.screenHeight - desired height on screen.textureName - name of the texture to use.textureLowerLeft - textureUpperRight -
public static FixedSizedBillboard createConstantSizeTexturedBillboard(int screenWidth,
int screenHeight,
Texture texture,
org.openmali.vecmath2.Tuple2f textureLowerLeft,
org.openmali.vecmath2.Tuple2f textureUpperRight)
Texture and
texture coordinates.
screenWidth - desired width on screen.screenHeight - desired height on screen.texture - texture to use.textureLowerLeft - textureUpperRight -
public static FixedSizedBillboard createConstantSizeTexturedBillboard(int screenWidth,
int screenHeight,
java.lang.String texture)
FixedSizedBillboard instance from the given Texture.
The billboard will be rendered as a rectangle with the specified
dimensions.
screenWidth - desired width on screen.screenHeight - desired height on screen.texture - texture to use.
public static FixedSizedBillboard createConstantSizeTexturedBillboard(int screenWidth,
int screenHeight,
Texture texture)
FixedSizedBillboard instance from the given Texture.
The billboard will be rendered as a rectangle with the specified
dimensions.
screenWidth - desired width on screen.screenHeight - desired height on screen.texture - texture to use.public static FixedSizedBillboard createConstantSizeTexturedBillboard(Texture texture)
FixedSizedBillboard instance from the given Texture.
The billboard will be rendered as a rectangle with the same dimensions as
the given Texture.
texture - texture to use.public static FixedSizedBillboard createConstantSizeTexturedBillboard(java.lang.String texture)
FixedSizedBillboard instance from the given texture name.
The billboard will be rendered as a rectangle with the same dimensions as
the given Texture.
texture - texture to use.
public static FixedSizedBillboard createConstantSizedTextBillboard(java.lang.String text,
int alignment,
java.awt.Font font,
org.openmali.vecmath2.Colorf color)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||