Edit

Share via


MixedRealityShaderGUI.SetVectorProperty Method

Definition

Sets vector property against associated material

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

Parameters

material
UnityEngine.Material

material to control

propertyName
String

name of property to set

propertyValue
Nullable<UnityEngine.Vector4>

value of property to set

Applies to