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