예제 #1
0
        protected override EffectTypeModuleData CreateInstanceForClone()
        {
            ShockwaveData result = new ShockwaveData
            {
                Orientation       = Orientation,
                Gradient          = new ColorGradient(Gradient),
                WidthCurve        = new Curve(WidthCurve),
                RadiusCurve       = new Curve(RadiusCurve),
                CenterXCurve      = new Curve(CenterXCurve),
                CenterYCurve      = new Curve(CenterYCurve),
                AccelerationCurve = new Curve(AccelerationCurve),
                BlendEdges        = BlendEdges
            };

            return(result);
        }
예제 #2
0
        protected override EffectTypeModuleData CreateInstanceForClone()
        {
            ShockwaveData result = new ShockwaveData
            {
                Orientation  = Orientation,
                Gradient     = new ColorGradient(Gradient),
                StartWidth   = StartWidth,
                EndWidth     = EndWidth,
                StartRadius  = StartRadius,
                EndRadius    = EndRadius,
                CenterX      = CenterX,
                CenterY      = CenterY,
                Acceleration = Acceleration,
                BlendEdges   = BlendEdges
            };

            return(result);
        }
예제 #3
0
 public Shockwave()
 {
     _data = new ShockwaveData();
     EnableTargetPositioning(true, true);
     InitAllAttributes();
 }
예제 #4
0
파일: Shockwave.cs 프로젝트: jaredb7/vixen
 public Shockwave()
 {
     _data = new ShockwaveData();
     EnableTargetPositioning(true, true);
     InitAllAttributes();
 }
예제 #5
0
        protected override EffectTypeModuleData CreateInstanceForClone()
        {
            ShockwaveData result = new ShockwaveData
            {

                Orientation = Orientation,
                Gradient = new ColorGradient(Gradient),
                StartWidth = StartWidth,
                EndWidth = EndWidth,
                StartRadius = StartRadius,
                EndRadius = EndRadius,
                CenterX = CenterX,
                CenterY = CenterY,
                Acceleration = Acceleration,
                BlendEdges = BlendEdges
            };
            return result;
        }