示例#1
0
 public static Hair DeepCopy(
     this IHairGetter item,
     out Hair.ErrorMask errorMask,
     Hair.TranslationMask?copyMask = null)
 {
     return(((HairSetterTranslationCommon)((IHairGetter)item).CommonSetterTranslationInstance() !).DeepCopy(
                item: item,
                copyMask: copyMask,
                errorMask: out errorMask));
 }
示例#2
0
        public static void DeepCopyIn(
            this IHairInternal lhs,
            IHairGetter rhs,
            out Hair.ErrorMask errorMask,
            Hair.TranslationMask?copyMask = null)
        {
            var errorMaskBuilder = new ErrorMaskBuilder();

            ((HairSetterTranslationCommon)((IHairGetter)lhs).CommonSetterTranslationInstance() !).DeepCopyIn(
                item: lhs,
                rhs: rhs,
                errorMask: errorMaskBuilder,
                copyMask: copyMask?.GetCrystal(),
                deepCopy: false);
            errorMask = Hair.ErrorMask.Factory(errorMaskBuilder);
        }