MixedRealityShaderGUI.SetColorProperty 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.
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