UnityEditor.BabylonShaderInterface.SetKeyword C# (CSharp) Method

SetKeyword() static private method

static private SetKeyword ( Material m, string keyword, bool state ) : void
m UnityEngine.Material
keyword string
state bool
return void
		static void SetKeyword(Material m, string keyword, bool state)
		{
			if (state)
				m.EnableKeyword (keyword);
			else
				m.DisableKeyword (keyword);
		}
	}