UxrGrabbableObject.CanBePlacedOnAnchor Method (UxrGrabbableObjectAnchor, Single)

Checks whether the object is near enough to be placed on the given UxrGrabbableObjectAnchor.

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

Syntax

C#

public bool CanBePlacedOnAnchor(
	UxrGrabbableObjectAnchor anchor,
	out float distance
)

Parameters

 

anchor
Type: UltimateXR.Manipulation.UxrGrabbableObjectAnchor
Anchor to check
distance
Type: System.Single
Returns the euclidean distance to the anchor

Return Value

Type: Boolean
Whether it is near enough to be placed

See Also

Reference

UxrGrabbableObject Class
CanBePlacedOnAnchor Overload
UltimateXR.Manipulation Namespace