UxrGrabManager.AnchorRangeEntered Event

Event called whenever an UxrGrabbableObject being grabbed by a UxrGrabber entered the valid placement range (distance) of a compatible UxrGrabbableObjectAnchor. The following properties from UxrManipulationEventArgs will contain meaningful data:  

  • GrabbableObject: Object that entered the valid placement range.
  • GrabbableAnchor: Anchor where the object can potentially be placed.
  • Grabber: Grabber that is holding the object. If more than one grabber is holding it, it will indicate the first one to grab it.
  Namespace: UltimateXR.Manipulation
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public event EventHandler<UxrManipulationEventArgs> AnchorRangeEntered


Value

Type: System.EventHandler(UxrManipulationEventArgs)

Remarks

Only enter/leave events will be generated. To check if an object can be placed on an anchor use CanBePlacedOnAnchor(UxrGrabbableObjectAnchor).

See Also

Reference

UxrGrabManager Class
UltimateXR.Manipulation Namespace
UxrGrabManager.AnchorRangeLeft