UxrFingerPointingVolume.IsPointInside Method

Checks if a point is inside the BoxCollider attached to the GameObject this component is attached to.

Namespace: UltimateXR.Avatar.Controllers
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public bool IsPointInside(
	Vector3 point,
	float margin = 0f
)

Parameters

 

point
Type: Vector3
Point in world coordinates
margin (Optional)
Type: System.Single
Margin to add to the box sides

Return Value

Type: Boolean
True if it is inside, false if not

See Also

Reference

UxrFingerPointingVolume Class
UltimateXR.Avatar.Controllers Namespace