Click or drag to resize

SnappingGuideCreateSnappingGuide Method (GameObject, MeshRenderer, Material)

Create Snapping Guide 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.GameObject CreateSnappingGuide(
	UnityEngine.GameObject target,
	MeshRenderer original,
	UnityEngine.Material material
)

Parameters

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

Return Value

Type: UnityEngine.GameObject
Returns new Snapping Guide GameObject
See Also