Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AdditionalCanvasShaderChannels

Enum mask of possible shader channel properties that can also be included when the Canvas mesh is created.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UIModule
[Flags]public enum AdditionalCanvasShaderChannels

Fields

Value

Description

NoneNo additional shader parameters are needed.
NormalInclude the normals on the mesh vertices.
TangentInclude the Tangent on the mesh vertices.
TexCoord1Include UV1 on the mesh vertices.
TexCoord2Include UV2 on the mesh vertices.
TexCoord3Include UV3 on the mesh vertices.