MixedRealityShaderGUI.SetVectorProperty Method

Definition

Sets vector property against associated material

C++
protected:
 static void SetVectorProperty(UnityEngine::Material ^ material, System::String ^ propertyName, Nullable<UnityEngine::Vector4> propertyValue);

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

Производ Верзије
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0