MixedRealityShaderGUI.SetColorProperty Method

Definition

Set color property against associated material

protected:
 static void SetColorProperty(UnityEngine::Material ^ material, System::String ^ propertyName, Nullable<UnityEngine::Color> propertyValue);
protected static void SetColorProperty (UnityEngine.Material material, string propertyName, UnityEngine.Color? propertyValue);
static member SetColorProperty : UnityEngine.Material * string * Nullable<UnityEngine.Color> -> unit
Protected Shared Sub SetColorProperty (material As Material, propertyName As String, propertyValue As Nullable(Of Color))

Parameters

material
UnityEngine.Material

material to control

propertyName
String

name of property to set

propertyValue
Nullable<UnityEngine.Color>

value of property to set

Applies to