Skip to main content

Material.shaderKeywords

NameType
shaderKeywordsstring

Description

An array containing the names of the local shader keywords that are currently enabled for this material.

Extra Detail

Shader keywords determine which shader variants Unity uses. For information on working with local and global shader keywords and how they interact.