Ejemplo n.º 1
0
        protected override void CloneTo(OperationRule rule)
        {
            TexturePlatformOperationRule tr = rule as TexturePlatformOperationRule;

            tr.standaloneSetting = (TexturePlatformSetting)standaloneSetting.Clone();
            tr.androidSetting    = (TexturePlatformSetting)androidSetting.Clone();
            tr.iOSSetting        = (TexturePlatformSetting)iOSSetting.Clone();
        }
Ejemplo n.º 2
0
        public object Clone()
        {
            OperationRule rule = (OperationRule)Activator.CreateInstance(GetType());

            rule.enable = enable;
            CloneTo(rule);

            return(rule);
        }
Ejemplo n.º 3
0
        protected override void CloneTo(OperationRule rule)
        {
            TexturePropertyOperationRule tr = rule as TexturePropertyOperationRule;

            tr.textureType  = textureType;
            tr.textureShape = textureShape;

            tr.sRGBTexture         = sRGBTexture;
            tr.alphaSource         = alphaSource;
            tr.alphaIsTransparency = alphaIsTransparency;

            tr.npotScale     = npotScale;
            tr.isReadable    = isReadable;
            tr.mipmapEnabled = mipmapEnabled;

            tr.wrapMode   = wrapMode;
            tr.filterMode = filterMode;
            tr.anisoLevel = anisoLevel;
        }
Ejemplo n.º 4
0
 protected abstract void CloneTo(OperationRule rule);