|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.expr.SimpleScope
com.threerings.opengl.model.Articulated.Node
com.threerings.opengl.model.Articulated.MeshNode
public static class Articulated.MeshNode
A node that contains a (visible and/or collision) mesh.
| Field Summary |
|---|
| Fields inherited from class com.threerings.opengl.model.Articulated.Node |
|---|
lastUpdate, totalWeight |
| Fields inherited from interface com.threerings.expr.Scope |
|---|
EPOCH, NOW |
| Constructor Summary | |
|---|---|
Articulated.MeshNode(GlContext ctx,
Scope parentScope,
ArticulatedConfig.MeshNode config,
Transform3D parentWorldTransform,
Transform3D parentViewTransform)
Creates a new mesh node. |
|
| Method Summary | |
|---|---|
void |
composite()
Composites this node. |
void |
createSurfaces(GlContext ctx,
ModelConfig.Imported.MaterialMapping[] materialMappings,
Map<String,MaterialConfig> materialConfigs)
Creates the surfaces of this node. |
void |
dispose()
Releases the resources associated with this scope. |
void |
enqueue()
Enqueues this object for rendering. |
boolean |
getIntersection(Ray3D ray,
Vector3f result)
Checks for an intersection between the mesh in this node (if any) and the supplied ray. |
void |
update()
Updates the node for the current frame. |
| Methods inherited from class com.threerings.opengl.model.Articulated.Node |
|---|
getBoneMatrix, getConfig, getLocalTransform, getParentViewTransform, getParentWorldTransform, getScopeName, getViewTransform, getWorldTransform, setConfig, setUpdater |
| 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 Articulated.MeshNode(GlContext ctx,
Scope parentScope,
ArticulatedConfig.MeshNode config,
Transform3D parentWorldTransform,
Transform3D parentViewTransform)
| Method Detail |
|---|
public void createSurfaces(GlContext ctx,
ModelConfig.Imported.MaterialMapping[] materialMappings,
Map<String,MaterialConfig> materialConfigs)
Articulated.Node
createSurfaces in class Articulated.Nodepublic void update()
Articulated.Node
update in class Articulated.Node
public boolean getIntersection(Ray3D ray,
Vector3f result)
Articulated.Node
getIntersection in class Articulated.Nodepublic void composite()
Articulated.Node
composite in class Articulated.Nodepublic void enqueue()
Enqueueable
enqueue in interface Enqueueableenqueue in class Articulated.Nodepublic void dispose()
SimpleScope
dispose in class SimpleScope
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||