|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.opengl.util.SimpleRenderable
com.threerings.opengl.util.SimpleTransformable
public abstract class SimpleTransformable
Extends SimpleRenderable to include a world space transform so that subclasses can
render themselves in model space.
| Constructor Summary | |
|---|---|
SimpleTransformable(GlContext ctx)
Creates a new simple transformable. |
|
SimpleTransformable(GlContext ctx,
String queue)
Creates a new simple transformable. |
|
SimpleTransformable(GlContext ctx,
String queue,
int priority)
Creates a new simple transformable. |
|
SimpleTransformable(GlContext ctx,
String queue,
int priority,
boolean modifiesColorState,
int primitiveCount)
Creates a new simple transformable. |
|
| Method Summary | |
|---|---|
void |
enqueue()
Enqueues this object for rendering. |
Transform3D |
getTransform()
Returns a reference to the world space transform. |
| Methods inherited from class com.threerings.opengl.util.SimpleRenderable |
|---|
composite, getStates |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleTransformable(GlContext ctx)
public SimpleTransformable(GlContext ctx,
String queue)
queue - the name of the queue into which we place the batch.
public SimpleTransformable(GlContext ctx,
String queue,
int priority)
queue - the name of the queue into which we place the batch.priority - the priority level at which to enqueue the batch.
public SimpleTransformable(GlContext ctx,
String queue,
int priority,
boolean modifiesColorState,
int primitiveCount)
queue - the name of the queue into which we place the batch.priority - the priority level at which to enqueue the batch.modifiesColorState - if true, invalidate the color state after calling the
SimpleRenderable.draw() method.primitiveCount - the primitive count to report to the renderer.| Method Detail |
|---|
public Transform3D getTransform()
public void enqueue()
Enqueueable
enqueue in interface Enqueueableenqueue in class SimpleRenderable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||