NearInteractionGrabbable Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Add a NearInteractionGrabbable component to any GameObject that has a collidable on it in order to make that collidable near grabbable.
Any IMixedRealityNearPointer will then dispatch pointer events to the closest near grabbable objects.
Additionally, the near pointer will send focus enter and exit events when the decorated object is the closest object to the near pointer
public ref class NearInteractionGrabbable : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/Services/NearInteractionGrabbable")]
public class NearInteractionGrabbable : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Services/NearInteractionGrabbable")>]
type NearInteractionGrabbable = class
inherit MonoBehaviour
Public Class NearInteractionGrabbable
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourNearInteractionGrabbable
- Attributes
-
UnityEngine.AddComponentMenuAttribute
Constructors
NearInteractionGrabbable() |
Fields
IsBoundsHandles | |
ShowTetherWhenManipulating |