示例#1
0
 public ScaleAffector(float x, float y, EffectNode node)
     : base(node, AFFECTORTYPE.ScaleAffector)
 {
     SType  = RSTYPE.SIMPLE;
     DeltaX = x;
     DeltaY = y;
 }
示例#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;
 }
示例#5
0
 public ScaleAffector(RSTYPE type, EffectNode node)
     : base(node, AFFECTORTYPE.ScaleAffector)
 {
     SType = type;
 }
示例#6
0
 public ScaleAffector(AnimationCurve curveX, AnimationCurve curveY, EffectNode node) : base(node)
 {
     this.Type        = RSTYPE.CURVE;
     this.ScaleXCurve = curveX;
     this.ScaleYCurve = curveY;
 }
示例#7
0
 public ScaleAffector(float x, float y, EffectNode node) : base(node)
 {
     this.Type   = RSTYPE.SIMPLE;
     this.DeltaX = x;
     this.DeltaY = y;
 }
示例#8
0
文件: Affector.cs 项目: wskidmore/mdc
 public ScaleAffector(float x, float y, EffectNode node)
     : base(node)
 {
     Type = RSTYPE.SIMPLE;
     DeltaX = x;
     DeltaY = y;
 }
示例#9
0
文件: Affector.cs 项目: wskidmore/mdc
 public ScaleAffector(AnimationCurve curveX, AnimationCurve curveY, EffectNode node)
     : base(node)
 {
     Type = RSTYPE.CURVE;
     ScaleXCurve = curveX;
     ScaleYCurve = curveY;
 }
示例#10
0
 public RotateAffector(RSTYPE type, EffectNode node)
     : base(node, AFFECTORTYPE.RotateAffector)
 {
     RType = type;
 }
示例#11
0
 public RotateAffector(AnimationCurve curve, EffectNode node) : base(node)
 {
     this.Type        = RSTYPE.CURVE;
     this.RotateCurve = curve;
 }
示例#12
0
 public RotateAffector(RSTYPE type, EffectNode node, bool isTowardZ)
     : base(node, AFFECTORTYPE.RotateAffector)
 {
     IsTowardZ = isTowardZ;
     RType     = type;
 }
示例#13
0
 public RotateAffector(AnimationCurve curve, EffectNode node)
     : base(node, AFFECTORTYPE.RotateAffector)
 {
     RType       = RSTYPE.CURVE;
     RotateCurve = curve;
 }
示例#14
0
 public RotateAffector(float delta, EffectNode node)
     : base(node, AFFECTORTYPE.RotateAffector)
 {
     RType = RSTYPE.SIMPLE;
     Delta = delta;
 }
示例#15
0
 public RotateAffector(RSTYPE type, EffectNode node)
     : base(node,AFFECTORTYPE.RotateAffector)
 {
     RType = type;
 }
示例#16
0
 public ScaleAffector(RSTYPE type, EffectNode node)
     : base(node, AFFECTORTYPE.ScaleAffector)
 {
     SType = type;
 }
示例#17
0
文件: Affector.cs 项目: sylafrs/rugby
 public RotateAffector(AnimationCurve curve, EffectNode node)
     : base(node,AFFECTORTYPE.RotateAffector)
 {
     RType = RSTYPE.CURVE;
     RotateCurve = curve;
 }
示例#18
0
文件: Affector.cs 项目: wskidmore/mdc
 public RotateAffector(AnimationCurve curve,EffectNode node)
     : base(node)
 {
     Type = RSTYPE.CURVE;
     RotateCurve = curve;
 }
示例#19
0
文件: Affector.cs 项目: wskidmore/mdc
 public RotateAffector(float delta, EffectNode node)
     : base(node)
 {
     Type = RSTYPE.SIMPLE;
     Delta = delta;
 }
示例#20
0
 public RotateAffector(float delta, EffectNode node) : base(node)
 {
     this.Type  = RSTYPE.SIMPLE;
     this.Delta = delta;
 }
示例#21
0
 public ScaleAffector(RSTYPE type, EffectNode node)
     : base(node, AFFECTORTYPE.ScaleAffector)
 {
     SType = type;
     node.LerpTable["scale"] = Random.Range(0, 1.0f);
 }