public class MotionTrailShapeVO extends MotionTrailVO
| Modifier and Type | Field and Description |
|---|---|
java.util.ArrayList<GLColor> |
color1 |
java.util.ArrayList<GLColor> |
color2 |
java.util.ArrayList<GLColor> |
color3 |
java.util.ArrayList<GLColor> |
color4 |
java.util.ArrayList<java.lang.Float> |
easing_x |
java.util.ArrayList<java.lang.Float> |
easing_y |
java.util.ArrayList<java.lang.String> |
stroke_interpolation |
java.util.ArrayList<java.lang.Integer> |
stroke1 |
java.util.ArrayList<java.lang.Integer> |
stroke2 |
name, num_points, SHAPE, type| Constructor and Description |
|---|
MotionTrailShapeVO() |
MotionTrailShapeVO(JSONObject json) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyScale(float scale) |
MotionTrail |
createTrail(int emitIndex,
DisplayObject target) |
void |
resetTrail(int emitIndex,
DisplayObject target,
MotionTrail trail) |
create, initpublic java.util.ArrayList<java.lang.Integer> stroke1
public java.util.ArrayList<java.lang.Integer> stroke2
public java.util.ArrayList<GLColor> color1
public java.util.ArrayList<GLColor> color2
public java.util.ArrayList<GLColor> color3
public java.util.ArrayList<GLColor> color4
public java.util.ArrayList<java.lang.String> stroke_interpolation
public java.util.ArrayList<java.lang.Float> easing_x
public java.util.ArrayList<java.lang.Float> easing_y
public MotionTrailShapeVO()
public MotionTrailShapeVO(JSONObject json)
throws JSONException
json - JSONExceptionpublic MotionTrail createTrail(int emitIndex, DisplayObject target)
createTrail in class MotionTrailVOpublic void applyScale(float scale)
applyScale in class MotionTrailVOTextureOptionspublic void resetTrail(int emitIndex,
DisplayObject target,
MotionTrail trail)
resetTrail in class MotionTrailVONovaEmitter#onAnimationUpdate(com.funzio.pure2D.animators.Animator, float), NovaParticle#onAnimationUpdate(com.funzio.pure2D.animators.Animator, float)