Documentation

Unity Engine


Unity Engine


SetAllowsAlphaSplitting(bool)

Setter for the flag that allows Alpha splitting on the imported texture when needed (for example ETC1 compression for textures with transparency).
Read time 1 minuteLast updated a month ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
Warning
Deprecated. Use UnityEditor.TextureImporter.SetPlatformTextureSettings() instead.
public void SetAllowsAlphaSplitting(bool flag)

Parameters

flag