|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.opengl.geometry.Geometry
com.threerings.opengl.geometry.DynamicGeometry
com.threerings.opengl.effect.ParticleGeometry
public abstract class ParticleGeometry
Represents a particle geometry instance.
| Nested Class Summary | |
|---|---|
static class |
ParticleGeometry.Lines
Renders particles as single line segments. |
static class |
ParticleGeometry.LineTrails
Renders particles as multi-segment line trails. |
static class |
ParticleGeometry.Meshes
Renders particles as meshes. |
static class |
ParticleGeometry.Points
Renders particles as points. |
static class |
ParticleGeometry.Quads
Renders particles as single quads. |
static class |
ParticleGeometry.QuadTrails
Renders particles as multi-segment quad trails. |
| Field Summary |
|---|
| Fields inherited from class com.threerings.opengl.geometry.Geometry |
|---|
EMPTY |
| Constructor Summary | |
|---|---|
ParticleGeometry(Scope scope)
Creates a new geometry object. |
|
| Method Summary | |
|---|---|
ArrayState |
getArrayState(int pass)
Returns the array state for the specified pass. |
Vector3f |
getCenter()
Returns a reference to the location of the center of the geometry (used for depth sorting). |
SimpleBatch.DrawCommand |
getDrawCommand(int pass)
Returns the draw command for the specified pass. |
void |
update()
Updates the state of the geometry. |
| Methods inherited from class com.threerings.opengl.geometry.DynamicGeometry |
|---|
requiresUpdate |
| Methods inherited from class com.threerings.opengl.geometry.Geometry |
|---|
getBoneMatrices, getCoordSpace |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParticleGeometry(Scope scope)
| Method Detail |
|---|
public Vector3f getCenter()
Geometry
getCenter in class Geometrypublic ArrayState getArrayState(int pass)
Geometry
getArrayState in class Geometrypublic SimpleBatch.DrawCommand getDrawCommand(int pass)
Geometry
getDrawCommand in class Geometrypublic void update()
Geometry
update in class DynamicGeometry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||