|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.opengl.geometry.Geometry
public abstract class Geometry
Represents a geometry instance.
| Field Summary | |
|---|---|
static Geometry |
EMPTY
A "geometry" object that draws nothing. |
| Constructor Summary | |
|---|---|
Geometry()
|
|
| Method Summary | |
|---|---|
abstract ArrayState |
getArrayState(int pass)
Returns the array state for the specified pass. |
Matrix4f[] |
getBoneMatrices()
Returns the geometry's bone matrices, if any. |
Vector3f |
getCenter()
Returns a reference to the location of the center of the geometry (used for depth sorting). |
CoordSpace |
getCoordSpace(int pass)
Returns the coordinate space in which the specified pass is given. |
abstract SimpleBatch.DrawCommand |
getDrawCommand(int pass)
Returns the draw command for the specified pass. |
boolean |
requiresUpdate()
Checks whether this geometry requires a call to its update() method before rendering. |
void |
update()
Updates the state of the geometry. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Geometry EMPTY
| Constructor Detail |
|---|
public Geometry()
| Method Detail |
|---|
public Matrix4f[] getBoneMatrices()
public CoordSpace getCoordSpace(int pass)
public Vector3f getCenter()
public abstract ArrayState getArrayState(int pass)
public abstract SimpleBatch.DrawCommand getDrawCommand(int pass)
public boolean requiresUpdate()
update() method before rendering.
public void update()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||