TextureImporterType 纹理导入类型
2016-03-24 17:19
288 查看
Select this to set basic parameters depending on the purpose of your texture.
选择这个设置基本参数,根据纹理的用途。
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"引用。
Image
This is the most common setting used for all the textures in general.
用于一般的纹理,这是最常用的设置。
Bump
Select this to turn the color channels into a format suitable for real-time normal mapping.
选择这个把颜色通道变成一个实时法线贴图格式。
GUI
Use this if your texture is going to be used on any HUD/GUI Controls.
如果纹理将用在HUD/GUI控件时,使用这个。
Reflection
Also known as Cube Maps, used to create reflections on textures.
也被称为立方贴图,用于在纹理上创建反射。
Cookie
This sets up your texture with the basic parameters used for the Cookies of your lights.
这个设置纹理带有基本参数,用于灯光Cookies。
Lightmap
This sets up your texture with the parameters used by the lightmap.
这个设置纹理带有基本参数,用于光照贴图。
Advanced
Select this when you want to have specific parameters on your texture and you want to have total control over your texture.
选择这个设置基本参数,根据纹理的用途。
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"引用。
Values值
ImageThis is the most common setting used for all the textures in general.
用于一般的纹理,这是最常用的设置。
Bump
Select this to turn the color channels into a format suitable for real-time normal mapping.
选择这个把颜色通道变成一个实时法线贴图格式。
GUI
Use this if your texture is going to be used on any HUD/GUI Controls.
如果纹理将用在HUD/GUI控件时,使用这个。
Reflection
Also known as Cube Maps, used to create reflections on textures.
也被称为立方贴图,用于在纹理上创建反射。
Cookie
This sets up your texture with the basic parameters used for the Cookies of your lights.
这个设置纹理带有基本参数,用于灯光Cookies。
Lightmap
This sets up your texture with the parameters used by the lightmap.
这个设置纹理带有基本参数,用于光照贴图。
Advanced
Select this when you want to have specific parameters on your texture and you want to have total control over your texture.
相关文章推荐
- shell 脚本 变量 获取程序输出结果异常分析
- 聊聊并发(五)原子操作的实现原理
- Facebook 2016 面试题1 | 递增三元组子序列
- 无聊的人是多么牛逼
- hdu2035java
- JQ之 offset 和 position 的用法与区别
- HashMap的实现
- java websocket
- SpringMVC学习系列-后记 解决GET请求时中文乱码的问题
- linux历史命令查找快捷方式
- ios开发环境搭建
- #ifdef __cplusplus extern "C"
- 求一维数组的最大子数组1(结对开发)
- AndroidStudio实用技能(2)
- JDK源码中使用的设计模式
- django debug toolbar jquery加载配置
- 淘宝开源项目TbSchedule的部署和使用
- 创建基于注解的springmvc的流程
- day05 Schema约束,JAXP的SAX解析,DOM4J
- 聊聊并发(四)深入分析ConcurrentHashMap