文档

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).
阅读时间1 分钟最后更新于 23 天前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
警告
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.