MixedRealityShaderGUI.SetVectorProperty Method
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 vector property against associated material
C++
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))
- material
- UnityEngine.Material
material to control
- propertyName
- String
name of property to set
- propertyValue
- Nullable<UnityEngine.Vector4>
value of property to set
Производ | Верзије |
---|---|
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 |