UxrGrabManager.ObjectGrabbing Event
Event called whenever a UxrGrabber component is about to grab a UxrGrabbableObject. The following properties from UxrManipulationEventArgs will contain meaningful data:
- GrabbableObject: Object that is about to be grabbed.
- GrabbableAnchor: Anchor where the object is currently placed. Null if it isn’t placed.
- Grabber: Grabber that is about to grab the object.
- GrabPointIndex: Grab point index of the object that is about to be grabbed.
- IsMultiHands: true if it is already being grabbed with one hand and it will be grabbed with both hands after. False if no hand is currently grabbing it.
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public event EventHandler<UxrManipulationEventArgs> ObjectGrabbing
Value
Type: System.EventHandler(UxrManipulationEventArgs)