Exemple #1
0
        public override void CopyData(ImportData data)
        {
            TextureImportData tData = data as TextureImportData;

            if (tData == null)
            {
                return;
            }

            base.CopyData(data);
            AlphaMode       = tData.AlphaMode;
            TexType         = tData.TexType;
            AndroidFormat   = tData.AndroidFormat;
            IosFormat       = tData.IosFormat;
            ReadWriteEnable = tData.ReadWriteEnable;
            MipmapEnable    = tData.MipmapEnable;
            MaxSize         = tData.MaxSize;
        }
        public override void CopyData(ImportData data)
        {
            ModelImportData tData = data as ModelImportData;

            if (tData == null)
            {
                return;
            }

            base.CopyData(data);
            ReadWriteEnable = tData.ReadWriteEnable;
            OptimizeMesh    = tData.OptimizeMesh;
            ImportMaterials = tData.ImportMaterials;
            ImportAnimation = tData.ImportAnimation;
            ImportUV2       = tData.ImportUV2;
            ImportUV3       = tData.ImportUV3;
            ImportUV4       = tData.ImportUV4;
            ImportNormal    = tData.ImportNormal;
            ImportTangent   = tData.ImportTangent;
            MeshCompression = tData.MeshCompression;
        }
 public virtual void CopyData(ImportData data)
 {
     RootPath      = data.RootPath;
     FileNameMatch = data.FileNameMatch;
     PreBuild      = data.PreBuild;
 }