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