Beispiel #1
0
 public ScaleAffector(float x, float y, EffectNode node)
     : base(node, AFFECTORTYPE.ScaleAffector)
 {
     SType  = RSTYPE.SIMPLE;
     DeltaX = x;
     DeltaY = y;
 }
Beispiel #2
0
 public RotateAffector(float delta, EffectNode node, bool isTowardZ)
     : base(node, AFFECTORTYPE.RotateAffector)
 {
     IsTowardZ = isTowardZ;
     RType     = RSTYPE.SIMPLE;
     Delta     = delta;
 }
 public ScaleAffector(AnimationCurve curveX, AnimationCurve curveY, EffectNode node)
     : base(node, AFFECTORTYPE.ScaleAffector)
 {
     SType       = RSTYPE.CURVE;
     ScaleXCurve = curveX;
     ScaleYCurve = curveY;
 }
 public RotateAffector(float delta, EffectNode node)
     : base(node, AFFECTORTYPE.RotateAffector)
 {
     RType = RSTYPE.SIMPLE;
     Delta = delta;
 }
Beispiel #5
0
 public ScaleAffector(RSTYPE type, EffectNode node)
     : base(node, AFFECTORTYPE.ScaleAffector)
 {
     SType = type;
 }
Beispiel #6
0
 public ScaleAffector(AnimationCurve curveX, AnimationCurve curveY, EffectNode node) : base(node)
 {
     this.Type        = RSTYPE.CURVE;
     this.ScaleXCurve = curveX;
     this.ScaleYCurve = curveY;
 }
Beispiel #7
0
 public ScaleAffector(float x, float y, EffectNode node) : base(node)
 {
     this.Type   = RSTYPE.SIMPLE;
     this.DeltaX = x;
     this.DeltaY = y;
 }
Beispiel #8
0
 public ScaleAffector(float x, float y, EffectNode node)
     : base(node)
 {
     Type = RSTYPE.SIMPLE;
     DeltaX = x;
     DeltaY = y;
 }
Beispiel #9
0
 public ScaleAffector(AnimationCurve curveX, AnimationCurve curveY, EffectNode node)
     : base(node)
 {
     Type = RSTYPE.CURVE;
     ScaleXCurve = curveX;
     ScaleYCurve = curveY;
 }
Beispiel #10
0
 public RotateAffector(RSTYPE type, EffectNode node)
     : base(node, AFFECTORTYPE.RotateAffector)
 {
     RType = type;
 }
Beispiel #11
0
 public RotateAffector(AnimationCurve curve, EffectNode node) : base(node)
 {
     this.Type        = RSTYPE.CURVE;
     this.RotateCurve = curve;
 }
Beispiel #12
0
 public RotateAffector(RSTYPE type, EffectNode node, bool isTowardZ)
     : base(node, AFFECTORTYPE.RotateAffector)
 {
     IsTowardZ = isTowardZ;
     RType     = type;
 }
 public RotateAffector(AnimationCurve curve, EffectNode node)
     : base(node, AFFECTORTYPE.RotateAffector)
 {
     RType       = RSTYPE.CURVE;
     RotateCurve = curve;
 }
Beispiel #14
0
 public RotateAffector(float delta, EffectNode node)
     : base(node, AFFECTORTYPE.RotateAffector)
 {
     RType = RSTYPE.SIMPLE;
     Delta = delta;
 }
Beispiel #15
0
 public RotateAffector(RSTYPE type, EffectNode node)
     : base(node,AFFECTORTYPE.RotateAffector)
 {
     RType = type;
 }
Beispiel #16
0
 public ScaleAffector(RSTYPE type, EffectNode node)
     : base(node, AFFECTORTYPE.ScaleAffector)
 {
     SType = type;
 }
Beispiel #17
0
 public RotateAffector(AnimationCurve curve, EffectNode node)
     : base(node,AFFECTORTYPE.RotateAffector)
 {
     RType = RSTYPE.CURVE;
     RotateCurve = curve;
 }
Beispiel #18
0
 public RotateAffector(AnimationCurve curve,EffectNode node)
     : base(node)
 {
     Type = RSTYPE.CURVE;
     RotateCurve = curve;
 }
Beispiel #19
0
 public RotateAffector(float delta, EffectNode node)
     : base(node)
 {
     Type = RSTYPE.SIMPLE;
     Delta = delta;
 }
Beispiel #20
0
 public RotateAffector(float delta, EffectNode node) : base(node)
 {
     this.Type  = RSTYPE.SIMPLE;
     this.Delta = delta;
 }
Beispiel #21
0
 public ScaleAffector(RSTYPE type, EffectNode node)
     : base(node, AFFECTORTYPE.ScaleAffector)
 {
     SType = type;
     node.LerpTable["scale"] = Random.Range(0, 1.0f);
 }