Click or drag to resize

MaterialHelperSetColorOnInstance Method

Set the emissive value on the renderer's material instance we find by matching the name of the material passed in

Namespace:  ImmerseSDK
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
public static void SetColorOnInstance(
	UnityEngine.Color newColor,
	UnityEngine.Material materialInstance
)

Parameters

newColor
Type: UnityEngine.Color
materialInstance
Type: UnityEngine.Material
See Also