Enum MaterialType
Options for the material type.
Namespace: UnityEditor.Rendering.Universal.ShaderGraph
Syntax
public enum MaterialType
Fields
Name | Description | Value |
---|---|---|
Lit | Use this for URP lit. |
0 |
Unlit | Use this for URP unlit. |
1 |
SpriteLit | Use this for sprite lit. |
2 |
SpriteUnlit | Use this for Sprite unlit. |
3 |