Click or drag to resize

MaterialHelperSetColorOn Method (Color, Material, Renderer)

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.5.0.0 (3.5.0.0)
Syntax
C#
public static void SetColorOn(
	UnityEngine.Color newColor,
	UnityEngine.Material material,
	UnityEngine.Renderer sourceRenderer
)

Parameters

newColor
Type: UnityEngine.Color
material
Type: UnityEngine.Material
sourceRenderer
Type: UnityEngine.Renderer
See Also