|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgestalt.util.CameraFrustumView
public class CameraFrustumView
| Constructor Summary | |
|---|---|
CameraFrustumView(DrawableFactory drawablefactory)
|
|
| Method Summary | |
|---|---|
void |
add(Drawable theDrawable)
this method is commonly used to store children of a drawable. |
void |
draw(GLContext theRenderContext)
this method is used to draw the drawable, when the context is ready. |
float[] |
getSortData()
returns the data upon which a sort value is calculated. |
float |
getSortValue()
returns the last sort value. |
boolean |
isActive()
returns whether the drawable is active. |
boolean |
isSortable()
returns true if the 'drawable' should be sorted before drawing. |
void |
setSortValue(float theSortValue)
caches the current sort value. |
void |
update(Camera theCamera)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CameraFrustumView(DrawableFactory drawablefactory)
| Method Detail |
|---|
public void update(Camera theCamera)
public void draw(GLContext theRenderContext)
Drawable
draw in interface DrawabletheRenderContext - GLContextpublic void add(Drawable theDrawable)
Drawable
add in interface DrawabletheDrawable - Drawablepublic boolean isActive()
Drawable
isActive in interface Drawablepublic float getSortValue()
Drawable
getSortValue in interface Drawablepublic void setSortValue(float theSortValue)
Drawable
setSortValue in interface DrawabletheSortValue - floatpublic float[] getSortData()
Drawable
getSortData in interface Drawablepublic boolean isSortable()
Drawable
isSortable in interface Drawable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||