|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.opengl.gui.Component
com.threerings.opengl.gui.RenderableView
public class RenderableView
Displays an embedded 3D view.
| Field Summary |
|---|
| Fields inherited from class com.threerings.opengl.gui.Component |
|---|
DEFAULT, DISABLED, HOVER |
| Constructor Summary | |
|---|---|
RenderableView(GlContext ctx)
Creates a new renderable view. |
|
| Method Summary | |
|---|---|
void |
add(Compositable compositable)
Adds a compositable to the view. |
Camera |
getCamera()
Returns a reference to the view camera. |
CameraHandler |
getCameraHandler()
Returns a reference to the camera handler. |
Model[] |
getConfigModels()
Returns a reference to the array of config models. |
DynamicScope |
getScope()
Returns a reference to the view's scope. |
String |
getViewNode()
Returns the name of the view node. |
boolean |
isStatic()
Checks whether this view is configured as static. |
void |
remove(Compositable compositable)
Removes a compositable from the view. |
void |
removeAll()
Removes all compositables from the view. |
void |
render()
Manually rerenders the (static) view. |
void |
setConfigModels(Model[] models)
Sets the array of config models. |
void |
setStatic(boolean stat)
Sets whether this view is static and must be rendered manually. |
void |
setViewNode(String node)
Sets the name of the view node. |
void |
tick(float elapsed)
Updates the state of this object based on the elapsed time in seconds. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RenderableView(GlContext ctx)
| Method Detail |
|---|
public DynamicScope getScope()
public Camera getCamera()
public CameraHandler getCameraHandler()
public void setStatic(boolean stat)
public boolean isStatic()
public void setViewNode(String node)
public String getViewNode()
public void setConfigModels(Model[] models)
public Model[] getConfigModels()
public void add(Compositable compositable)
public void remove(Compositable compositable)
public void removeAll()
public void render()
public void tick(float elapsed)
Tickable
tick in interface Tickable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||