Cubemap generation mode for 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.
Cubemap textures can be generated from square textures using one of these modes.
See Also: TextureImporter.generateCubemap.
None |
Do not generate cubemap (default). |
Spheremap |
Generate cubemap from spheremap texture. |
Cylindrical |
Generate cubemap from cylindrical texture. |
SimpleSpheremap |
Generate cubemap from spheremap texture. |
NiceSpheremap |
Generate cubemap from spheremap texture. |
FullCubemap |
Generate cubemap from vertical or horizontal cross texture. |