|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectartofillusion.animation.distortion.ShatterDistortion
public class ShatterDistortion
This is a distortion which shatters an object.
| Field Summary | |
|---|---|
static int |
X_AXIS
|
static int |
Y_AXIS
|
static int |
Z_AXIS
|
| Constructor Summary | |
|---|---|
ShatterDistortion(double time,
double size,
double speed,
double randomness,
double gravity,
double spin,
double disappear,
int gravityAxis,
Mat4 gravityDirTransform)
|
|
| Method Summary | |
|---|---|
Distortion |
duplicate()
Create a duplicate of this object. |
boolean |
isIdenticalTo(Distortion d)
Determine whether this distortion is identical to another one. |
void |
setPreviousDistortion(Distortion previous)
Set another distortion which should be applied before this one. |
Mesh |
transform(Mesh obj)
Apply the Distortion, and return a transformed mesh. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int X_AXIS
public static final int Y_AXIS
public static final int Z_AXIS
| Constructor Detail |
|---|
public ShatterDistortion(double time,
double size,
double speed,
double randomness,
double gravity,
double spin,
double disappear,
int gravityAxis,
Mat4 gravityDirTransform)
| Method Detail |
|---|
public void setPreviousDistortion(Distortion previous)
setPreviousDistortion in interface Distortionpublic boolean isIdenticalTo(Distortion d)
isIdenticalTo in interface Distortionpublic Distortion duplicate()
duplicate in interface Distortionpublic Mesh transform(Mesh obj)
transform in interface Distortion
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||