artofillusion.animation.distortion
Class ShatterDistortion
java.lang.Object
artofillusion.animation.distortion.Distortion
artofillusion.animation.distortion.ShatterDistortion
public class ShatterDistortion
- extends Distortion
This is a distortion which shatters an object.
Constructor Summary |
ShatterDistortion(double time,
double size,
double speed,
double randomness,
double gravity,
double spin,
double disappear,
int gravityAxis,
Mat4 gravityDirTransform)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
X_AXIS
public static final int X_AXIS
- See Also:
- Constant Field Values
Y_AXIS
public static final int Y_AXIS
- See Also:
- Constant Field Values
Z_AXIS
public static final int Z_AXIS
- See Also:
- Constant Field Values
ShatterDistortion
public ShatterDistortion(double time,
double size,
double speed,
double randomness,
double gravity,
double spin,
double disappear,
int gravityAxis,
Mat4 gravityDirTransform)
isIdenticalTo
public boolean isIdenticalTo(Distortion d)
- Determine whether this distortion is identical to another one.
- Specified by:
isIdenticalTo
in class Distortion
duplicate
public Distortion duplicate()
- Create a duplicate of this object.
- Specified by:
duplicate
in class Distortion
transform
public Mesh transform(Mesh obj)
- Apply the Distortion, and return a transformed mesh.
- Specified by:
transform
in class Distortion
Copyright © 1999-2011 by Peter Eastman.