|
Jazz3D API |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--com.sygem.jazz3d3.Object3d
|
+--com.sygem.jazz3d3.loader.Model3d
Create an object from a 3D model file.
Object3d,
LoadFactory,
Loader| Constructor Summary | |
Model3d(double x,
double y,
double z)
Default constructor. |
|
| Method Summary | |
void |
beginLoadingInThread(int del)
Start the model loading. |
void |
finishLoadingInThread()
Stop the model loading, and finish off any initialization of the object. |
int |
getLoadProgress()
Return the percentage of the object that has loaded so far. |
boolean |
loading()
Determine if the object is still loading. |
void |
loadModel(java.lang.String fn,
LoadFactory ldr)
Loads a 3D model. |
void |
loadModelInThread(java.lang.String fn,
LoadFactory ldr)
Sets the model to load in a thread. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Model3d(double x,
double y,
double z)
x - The x position of the center of the modely - The y position of the center of the modelz - The z position of the center of the model| Method Detail |
public void loadModel(java.lang.String fn,
LoadFactory ldr)
fn - The file to load.ldr - A valid LoadFactory object.LoadFactory
public final void loadModelInThread(java.lang.String fn,
LoadFactory ldr)
beginLoadingInThread(). Again, the filename can be relative to the applet or application, or it can be a full URL.
fn - The file to load.ldr - A valid LoadFactory object.LoadFactorypublic final void beginLoadingInThread(int del)
del - The time in milliseconds the thread should pause.public final void finishLoadingInThread()
public final boolean loading()
public final int getLoadProgress()
|
©2001 SyGem Software |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||