Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

TextureImporterGenerateCubemap

Description

Cubemap generation mode for TextureImporter.

Cubemap textures can be generated from square textures using one of these modes.

See Also: TextureImporter.generateCubemap.

Variables

NoneDo not generate cubemap (default).
SpheremapGenerate cubemap from spheremap texture.
CylindricalGenerate cubemap from cylindrical texture.
SimpleSpheremapGenerate cubemap from spheremap texture.
NiceSpheremapGenerate cubemap from spheremap texture.
FullCubemapGenerate cubemap from vertical or horizontal cross texture.