Click or drag to resize

OutlinerCreateOutline Method (GameObject, MeshRenderer, Material)

Create outline for MeshRenderer

Namespace:  ImmerseSDK
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.5.0.0 (3.5.0.0)
Syntax
C#
protected static UnityEngine.GameObject 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.GameObject
Returns new outline GameObject
See Also