Beispiel #1
0
        public override BaseEvent Clone()
        {
            RadialBlurDuration radialBlurDuration = ClassObjPool <RadialBlurDuration> .Get();

            radialBlurDuration.CopyData(this);
            return(radialBlurDuration);
        }
Beispiel #2
0
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            RadialBlurDuration radialBlurDuration = src as RadialBlurDuration;

            this.falloffExp = radialBlurDuration.falloffExp;
            this.blurScale  = radialBlurDuration.blurScale;
        }