UxrGrabManager.PlacedObjectRangeEntered Event
Event called whenever a UxrGrabber enters the valid grab range (distance) of a UxrGrabbableObject placed on an UxrGrabbableObjectAnchor. The following properties from UxrManipulationEventArgs will contain meaningful data:
- GrabbableObject: Object that is within reach.
- GrabbableAnchor: Anchor where the object is placed.
- Grabber: Grabber that entered the valid grab range.
- GrabPointIndex: Grab point index that is within reach.
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public event EventHandler<UxrManipulationEventArgs> PlacedObjectRangeEntered
Value
Type: System.EventHandler(UxrManipulationEventArgs)
Remarks
Only enter/leave events will be generated. To check if an object can be grabbed use CanBeGrabbedByGrabber(UxrGrabber, Int32).
See Also
Reference
UxrGrabManager Class
UltimateXR.Manipulation Namespace
UxrGrabManager.PlacedObjectRangeLeft