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 2 months ago

Definition

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

Parameters

flag