|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.jinx.video.Plane
public class Plane
Constructor Summary | |
---|---|
Plane(float width)
|
|
Plane(int detail,
float width)
|
Method Summary | |
---|---|
void |
deinit(Context opt)
Deinitializes this Visible, disposing of any resources that it may be using. |
void |
draw(Context opt)
Renders this Visible to glDrawable. |
Coloration |
getColoration()
Provides the Coloration for this Sphere. |
Material |
getMaterial()
Deprecated. this class has been internally redesigned; please use the getColoration() method instead. |
java.lang.String |
getTexture()
Provides the name of the texture that this Sphere should use. |
void |
init(Context opt)
Initializes this Visible, preparing it for rendering. |
static Model |
newPlaneModel(int detail,
float width)
|
void |
setColoration(Coloration color)
Sets the Coloration for this Sphere. |
void |
setMaterial(Material material)
Deprecated. this class has been internally redesigned; please use the setColoration(Coloration) method instead. |
void |
setTexture(java.lang.String texture)
Sets the name of the texture that this Sphere should use. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Plane(float width)
public Plane(int detail, float width)
Method Detail |
---|
public void setTexture(java.lang.String texture)
texture
- the name. If this is null, no texture will be used.public java.lang.String getTexture()
public void setMaterial(Material material)
material
- the Material.public Material getMaterial()
public void setColoration(Coloration color)
color
- the Coloration.public Coloration getColoration()
public void init(Context opt)
Visible
init
in interface Visible
opt
- describes the rendering options that are being used.public void draw(Context opt)
Visible
draw
in interface Visible
opt
- describes the rendering options that are being used.public void deinit(Context opt)
Visible
deinit
in interface Visible
opt
- describes the rendering options that are being used.public static Model newPlaneModel(int detail, float width)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |