Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

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

TextureImporter.SetAllowsAlphaSplitting

Switch to Manual
public void SetAllowsAlphaSplitting(bool flag);

Parameters

Description

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