Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TextureImporterAlphaSource

Select how the alpha of the imported texture is generated.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Enum
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public enum TextureImporterAlphaSource

Fields

Value

Description

FromGrayScaleGenerate Alpha from image gray scale.
FromInputUse Alpha from the input texture if one is provided.
NoneNo Alpha will be used.