UxrGrabbableObject.GetAutoRotationProvider Method
Tries to infer the most appropriate UxrRotationProvider to rotate the object based on the shape and size of the object, and the grip.
Namespace: UltimateXR.Manipulation
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public UxrRotationProvider GetAutoRotationProvider(
Vector3 gripPos
)
Parameters
- gripPos
- Type: Vector3
The grip snap position
Return Value
Type: UxrRotationProvider
Most appropriate UxrRotationProvider