Click or drag to resize

OutlineCreateOutline Method (GameObject, MeshRenderer, Material)

Create outline for MeshRenderer

Namespace:  ImmerseSDK
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
protected static UnityEngine.Renderer CreateOutline(
	UnityEngine.GameObject target,
	MeshRenderer original,
	UnityEngine.Material material
)

Parameters

target
Type: UnityEngine.GameObject
GameObject to add the outline to
original
Type: MeshRenderer
Renderer to copy
material
Type: UnityEngine.Material
Material instance to use

Return Value

Type: UnityEngine.Renderer
Returns the render of the outline object
See Also