文档

Unity Engine

Download Unity

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 分钟最后更新于 2 个月前

Definition

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