|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.expr.SimpleScope
com.threerings.tudey.client.cursor.Cursor
com.threerings.tudey.client.cursor.EntryCursor
com.threerings.tudey.client.cursor.PathCursor
public class PathCursor
Represents a path entry.
| Nested Class Summary | |
|---|---|
static class |
PathCursor.Implementation
The actual cursor implementation. |
static class |
PathCursor.Original
An original implementation. |
| Field Summary |
|---|
| Fields inherited from interface com.threerings.expr.Scope |
|---|
EPOCH, NOW |
| Constructor Summary | |
|---|---|
PathCursor(TudeyContext ctx,
TudeySceneView view,
TudeySceneModel.PathEntry entry)
Creates a new path cursor. |
|
| Method Summary | |
|---|---|
void |
composite()
Adds this object's Dependencys and Enqueueables to the compositor in
preparation for rendering. |
void |
configUpdated(ConfigEvent<PathConfig> event)
Called when a configuration has been updated. |
void |
dispose()
Releases the resources associated with this scope. |
TudeySceneModel.Entry |
getEntry()
Returns a reference to the most recently set entry state. |
Shape |
getShape()
Returns a reference to the shape of the entry (or null for none). |
static Model[] |
maybeResize(Model[] omodels,
int ncount,
TudeyContext ctx,
Scope parentScope,
String name,
ColorState colorState)
Resizes the specified array of models if necessary, adding new models or removing models as required. |
void |
tick(float elapsed)
Updates the state of this object based on the elapsed time in seconds. |
void |
update(TudeySceneModel.Entry entry)
Updates the cursor with new entry state. |
| Methods inherited from class com.threerings.tudey.client.cursor.Cursor |
|---|
getScopeName |
| Methods inherited from class com.threerings.expr.SimpleScope |
|---|
addListener, get, getParentScope, removeListener, scopeUpdated |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PathCursor(TudeyContext ctx,
TudeySceneView view,
TudeySceneModel.PathEntry entry)
| Method Detail |
|---|
public static Model[] maybeResize(Model[] omodels,
int ncount,
TudeyContext ctx,
Scope parentScope,
String name,
ColorState colorState)
public void configUpdated(ConfigEvent<PathConfig> event)
ConfigUpdateListener
configUpdated in interface ConfigUpdateListener<PathConfig>public TudeySceneModel.Entry getEntry()
EntryCursor
getEntry in class EntryCursorpublic Shape getShape()
EntryCursornull for none).
getShape in class EntryCursorpublic void update(TudeySceneModel.Entry entry)
EntryCursor
update in class EntryCursorpublic void tick(float elapsed)
Tickable
tick in interface Tickabletick in class Cursorpublic void composite()
CompositableDependencys and Enqueueables to the compositor in
preparation for rendering.
composite in interface Compositablecomposite in class Cursorpublic void dispose()
SimpleScope
dispose in class SimpleScope
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||