KeywordDeclarationOverrides
An array of all the keyword declaration overrides in this settings configuration.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Property
- Namespace: UnityEditor.Shaders
- Assembly: UnityEditor.CoreModule
public ShaderBuildSettings.KeywordDeclarationOverride[] KeywordDeclarationOverrides { set; }
Remarks
Setting the value of this property will run validation on the data and throw an in the case of invalid data. This property can only be used for setting the override data. To read the current data the ShaderBuildSettings.GetKeywordDeclarationOverridesCopy method must be used.
ArgumentException