public class PropertiesSetterVO extends AnimatorVO
| Modifier and Type | Field and Description |
|---|---|
java.util.ArrayList<java.lang.Float> |
alpha |
java.util.ArrayList<java.lang.String> |
blend_mode |
java.util.ArrayList<GLColor> |
color |
java.util.ArrayList<java.lang.Integer> |
duration |
java.util.ArrayList<java.lang.Float> |
origin_x |
java.util.ArrayList<java.lang.Float> |
origin_y |
java.util.ArrayList<java.lang.Float> |
rotation |
java.util.ArrayList<java.lang.Float> |
scale_x |
java.util.ArrayList<java.lang.Float> |
scale_y |
java.util.ArrayList<java.lang.Float> |
x |
java.util.ArrayList<java.lang.Float> |
y |
java.util.ArrayList<java.lang.Float> |
z |
accumulating, ALPHA, COLOR, DELAY, lifespan, loop_count, loop_mode, MOVE, name, PARALLEL, RECURSIVE_TRAJECTORY, RESIZE, ROTATE, SCALE, SEQUENCE, SET, SIN_WAVE, SKEW, start_delay, TORNADO, TRAJECTORY, TRANSLATE, type, UNSTABLE_MOVE, WHIRL| Constructor and Description |
|---|
PropertiesSetterVO(JSONObject json) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyScale(float scale)
Apply scale to all coordinates and sizes.
|
Animator |
createAnimator(int emitIndex,
Manipulatable target,
Animator... animators) |
void |
resetAnimator(int emitIndex,
Manipulatable target,
Animator animator)
Reset a specific animator to reflect this VO
|
create, initpublic java.util.ArrayList<java.lang.Float> x
public java.util.ArrayList<java.lang.Float> y
public java.util.ArrayList<java.lang.Float> z
public java.util.ArrayList<java.lang.Float> origin_x
public java.util.ArrayList<java.lang.Float> origin_y
public java.util.ArrayList<java.lang.Float> scale_x
public java.util.ArrayList<java.lang.Float> scale_y
public java.util.ArrayList<java.lang.Float> rotation
public java.util.ArrayList<java.lang.Float> alpha
public java.util.ArrayList<GLColor> color
public java.util.ArrayList<java.lang.String> blend_mode
public java.util.ArrayList<java.lang.Integer> duration
public PropertiesSetterVO(JSONObject json)
throws JSONException
JSONExceptionpublic void applyScale(float scale)
applyScale in class AnimatorVOscale - TextureOptionspublic Animator createAnimator(int emitIndex, Manipulatable target, Animator... animators)
createAnimator in class AnimatorVOpublic void resetAnimator(int emitIndex,
Manipulatable target,
Animator animator)
AnimatorVOresetAnimator in class AnimatorVO