TextureImporterSettings 纹理导入设置


Stores settings of a TextureImporter

储存TextureImporter的设置。

Note: This is an editor class. To use it you have to place your script in Assets/Editor inside your project folder. Editor classes are in the UnityEditor namespace so for C# scripts you need to add "using UnityEditor;" at the beginning of the script.
 注意:这是一个编辑器类,如果想使用它你需要把它放到工程目录下的Assets/Editor文件夹下。编辑器类在UnityEditor命名空间下。所以当使用C#脚本时,你需要在脚本前面加上 "using UnityEditor"引用。

参见:TextureImporter

Functions函数

  • CopyTo
    Copy parameters into another TextureImporterSettings object.
       拷贝参数到另外的 TextureImporterSettings 物体。
  • ApplyTextureType
    Configure parameters to import a texture for a purpose of type, as described here.
       为type,配置导入纹理参数,参见:TextureImporterType。

Class Functions类函数

  • Equal
    Test texture importer settings for equality.
       测试纹理导入设置是否相等。


,