NearInteractionGrabbable Class

Definition

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

C++
public ref class NearInteractionGrabbable : UnityEngine::MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
NearInteractionGrabbable
Attributes
UnityEngine.AddComponentMenuAttribute

Constructors

Fields

Applies to

Produkt Versioner
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0