Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Material.EnableKeyword

EnableKeyword(keyword: string): void;
void EnableKeyword(string keyword);
def EnableKeyword(keyword as string) as void

Description

Set a shader keyword that is enabled by this material.