UxrGrabbableObject.ComputeRequiredGrabberTransform Method

Computes the position/rotation that a UxrGrabber would have to hold the object using the current position/orientation.

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

Syntax

C#

public bool ComputeRequiredGrabberTransform(
	UxrGrabber grabber,
	int grabPoint,
	out Vector3 grabberPosition,
	out Quaternion grabberRotation
)

Parameters

 

grabber
Type: UltimateXR.Manipulation.UxrGrabber
Grabber to check
grabPoint
Type: System.Int32
Grab point
grabberPosition
Type: Vector3
Returns the grabber position
grabberRotation
Type: Quaternion
Returns the grabber orientation

Return Value

Type: Boolean
Whether the returned data is meaningful

See Also

Reference

UxrGrabbableObject Class
UltimateXR.Manipulation Namespace