Click or drag to resize

MaterialHelperSetEmissionOnInstance 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.7.0.0 (3.7.0.0)
Syntax
C#
public static void SetEmissionOnInstance(
	UnityEngine.Color newColor,
	UnityEngine.Material materialInstance,
	UnityEngine.Renderer sourceRenderer
)

Parameters

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