您的位置:首页 > 其它

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"引用。


Values值

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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: