UxrGrabber.GetProximityTransform Method
Gets the given proximity transform, used to compute distances toUxrGrabbableObject entities
Namespace: UltimateXR.Manipulation
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public Transform GetProximityTransform(
int proximityIndex = -1
)
Parameters
- proximityIndex (Optional)
- Type: System.Int32
Proximity transform index. -1 for the default (the grabber’s transform) and 0 to n for any optional proximity transform.
Return Value
Type: Transform
Proximity transform. If the index is out of range it will return the default transform