MixedRealityShaderGUI.SetShaderFeatureActive Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the shader feature controlled by keyword and property name parameters active or inactive
protected:
static void SetShaderFeatureActive(UnityEngine::Material ^ material, System::String ^ keywordName, System::String ^ propertyName, Nullable<float> propertyValue);
protected static void SetShaderFeatureActive (UnityEngine.Material material, string keywordName, string propertyName, float? propertyValue);
static member SetShaderFeatureActive : UnityEngine.Material * string * string * Nullable<single> -> unit
Protected Shared Sub SetShaderFeatureActive (material As Material, keywordName As String, propertyName As String, propertyValue As Nullable(Of Single))
Parameters
- material
- UnityEngine.Material
Material to modify
- keywordName
- String
Keyword of shader feature
- propertyName
- String
Associated property name for shader feature
float to be treated as a boolean flag for setting shader feature active or inactive