Click or drag to resize

SliderRestrictPosition Method

Override this to restrict an object's position in some way. Default behavior is to return the target position unmodified.

Namespace:  ImmerseSDK.Interaction
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
protected override UnityEngine.Vector3 RestrictPosition(
	UnityEngine.Vector3 targetPosition
)

Parameters

targetPosition
Type: UnityEngine.Vector3

Return Value

Type: UnityEngine.Vector3
See Also