Exemplo n.º 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);
        }
Exemplo n.º 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);
        }
Exemplo n.º 3
0
 public Shockwave()
 {
     _data = new ShockwaveData();
     EnableTargetPositioning(true, true);
     InitAllAttributes();
 }
Exemplo n.º 4
0
 public Shockwave()
 {
     _data = new ShockwaveData();
     EnableTargetPositioning(true, true);
     InitAllAttributes();
 }
Exemplo n.º 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;
        }