|
Bitmap Camera Example Scene | ||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--Cloth
|
+--Drape
This class implements the silk drape, its texture, and the bitmap camera used to create its image-based lighting.
| Constructor Summary | |
Drape(WTStage s,
WTGroup a)
Constructor |
|
| Method Summary | |
void |
destroy()
Class destructor |
void |
update(float dt,
float eventTime)
Updates wind strength and particle positions, and sets patch points to particle locations |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Drape(WTStage s,
WTGroup a)
s - The main stagea - The level object, which can be a WTStudio level, or an actor cast to a group. This object must be fully loaded before the constructor is called. Note that the drape hangs down in relation to 3dsmax's coordinate system; if you're using WTStudio, you will need to rotate your model node to correctly position the drape.| Method Detail |
public void destroy()
public void update(float dt,
float eventTime)
dt - Time in seconds since the last rendereventTime - Current time in milliseconds
|
Bitmap Camera Example Scene | ||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||