UxrFingerTip.IsInside Method

Checks whether the finger tip is inside a box collider.

Namespace: UltimateXR.UI
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public bool IsInside(
	BoxCollider box,
	bool allowWhileGrabbing = false
)

Parameters

 

box
Type: BoxCollider
Box collider
allowWhileGrabbing (Optional)
Type: System.Boolean
Whether the operation that the check is for allows the hand to be grabbing something. This means if the value is false and the hand is currently grabbing, it will always return false no matter the finger tip is inside the box or not

Return Value

Type: Boolean
Whether the finger tip is inside

See Also

Reference

UxrFingerTip Class
UltimateXR.UI Namespace