Legacy Documentation: Version 5.4
LanguageEnglish
  • C#
  • JS

Script language

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

TextureImporter.GetAllowsAlphaSplitting

Switch to Manual
public bool GetAllowsAlphaSplitting();

Returns

bool True if the importer allows alpha split on the imported texture, False otherwise.

Description

Getter for the flag that allows Alpha splitting on the imported texture when needed (for example ETC1 compression for textures with transparency).