Click or drag to resize

MaterialHelperSetColorOn Method (Color, Material, ListRenderer)

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,
	List<UnityEngine.Renderer> sourceRenderers
)

Parameters

newColor
Type: UnityEngine.Color
material
Type: UnityEngine.Material
sourceRenderers
Type: System.Collections.GenericListUnityEngine.Renderer
See Also