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); }
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); }
public Shockwave() { _data = new ShockwaveData(); EnableTargetPositioning(true, true); InitAllAttributes(); }
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; }