Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetAllowsAlphaSplitting()

Getter 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 8 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
Warning
Deprecated. Use UnityEditor.TextureImporter.GetPlatformTextureSettings() instead.
public bool GetAllowsAlphaSplitting()

Returns

Type

Description

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

Remarks

This function has been deprecated, use TextureImporter.GetPlatformTextureSettings.