|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectartofillusion.script.ScriptedObjectController
public class ScriptedObjectController
This class mediates interactions between an ObjectScript and the rest of the program.
Method Summary | |
---|---|
void |
addObject(Object3D obj,
CoordinateSystem coords)
Add an object to the scripted object. |
void |
addObject(ObjectInfo info)
Add an object to the scripted object. |
CoordinateSystem |
getCoordinates()
Get the coordinate system which defines the scripted object's position in the scene. |
double |
getParameter(java.lang.String name)
Get the value of a parameter. |
Scene |
getScene()
Get the scene this object is part of. |
double |
getTime()
Get the current time. |
boolean |
isPreview()
Determine whether the script is currently being executed to create an interactive preview. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public final CoordinateSystem getCoordinates()
public final double getTime()
public final Scene getScene()
public final boolean isPreview()
public final double getParameter(java.lang.String name) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public final void addObject(ObjectInfo info)
public final void addObject(Object3D obj, CoordinateSystem coords)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |