Legacy Documentation: Version 5.5
LanguageEnglish
  • C#
  • JS

Script language

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

TextureImporterGenerateCubemap.AutoCubemap

Description

Automatically determine type of cubemap generation from the source image.

This picks cylindrical, spheremap, cross or 6-face layout based on the aspect ratio of the source image.

See Also: TextureImporter.generateCubemap.