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, init
public 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
- JSONException
public MotionTrail createTrail(int emitIndex, DisplayObject target)
createTrail
in class MotionTrailVO
public void applyScale(float scale)
applyScale
in class MotionTrailVO
TextureOptions
public void resetTrail(int emitIndex, DisplayObject target, MotionTrail trail)
resetTrail
in class MotionTrailVO
NovaEmitter#onAnimationUpdate(com.funzio.pure2D.animators.Animator, float), NovaParticle#onAnimationUpdate(com.funzio.pure2D.animators.Animator, float)