Exemplo n.º 1
0
 public static LensFlare DeepCopy(
     this ILensFlareGetter item,
     out LensFlare.ErrorMask errorMask,
     LensFlare.TranslationMask?copyMask = null)
 {
     return(((LensFlareSetterTranslationCommon)((ILensFlareGetter)item).CommonSetterTranslationInstance() !).DeepCopy(
                item: item,
                copyMask: copyMask,
                errorMask: out errorMask));
 }
Exemplo n.º 2
0
        public static void DeepCopyIn(
            this ILensFlareInternal lhs,
            ILensFlareGetter rhs,
            out LensFlare.ErrorMask errorMask,
            LensFlare.TranslationMask?copyMask = null)
        {
            var errorMaskBuilder = new ErrorMaskBuilder();

            ((LensFlareSetterTranslationCommon)((ILensFlareGetter)lhs).CommonSetterTranslationInstance() !).DeepCopyIn(
                item: lhs,
                rhs: rhs,
                errorMask: errorMaskBuilder,
                copyMask: copyMask?.GetCrystal(),
                deepCopy: false);
            errorMask = LensFlare.ErrorMask.Factory(errorMaskBuilder);
        }