MRTKBaseInteractable Class
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.
Extended version of XRBaseInteractable to enable multi-hand interactions.
[UnityEngine.AddComponentMenu("MRTK/Core/MRTK Base Interactable")]
public class MRTKBaseInteractable : UnityEngine.XR.Interaction.Toolkit.XRBaseInteractable
[<UnityEngine.AddComponentMenu("MRTK/Core/MRTK Base Interactable")>]
type MRTKBaseInteractable = class
inherit XRBaseInteractable
Public Class MRTKBaseInteractable
Inherits XRBaseInteractable
- Inheritance
-
UnityEngine.XR.Interaction.Toolkit.XRBaseInteractableMRTKBaseInteractable
- Derived
- Attributes
-
UnityEngine.AddComponentMenuAttribute
Hovering |
(Read Only) The list of IGazeInteractor components currently gazing this object. |
Hovering |
(Read Only) The list of IGazePinchInteractor components currently hovering this object. |
Hovering |
(Read Only) The list of IGrabInteractor components currently hovering this object. |
Hovering |
(Read Only) The list of IPokeInteractor components currently hovering this object. |
Hovering |
(Read Only) The list of IRayInteractor components currently hovering this object. |
Is |
Is this object hovered by any interactor other than passive targeting interactors? |
Is |
Is this object hovered by any gaze interactor? |
Is |
Is this object hovered by a gaze-pinch interactor? |
Is |
Is this object selected by a gaze-pinch interactor? |
Is |
Is this object hovered by a grab interactor? |
Is |
Is this object selected by a grab interactor? |
Is |
Is this object hovered by a near touch/poke interactor? |
Is |
Is this object selected by a poke interactor? |
Is |
Is this object hovered by a non-gaze ray interactor? |
Is |
Is this object selected by a non-gaze ray interactor? |
Selecting |
(Read Only) The list of IGazePinchInteractor components currently selecting this object. |
Selecting |
(Read Only) The list of IGrabInteractor components currently selecting this object. |
Disable |
Adds the specified type to the set of interactors which cannot select this interactable |
Enable |
Removes the specified type to the set of interactors which cannot select this interactable |
Is |
UnityEngine.XR.Interaction.Toolkit.XRBaseInteractable.IsHoverableBy(UnityEngine.XR.Interaction.Toolkit.IXRHoverInteractor) |
Is |
Is the given type of interactor permitted to interact with this interactable? |
Is |
UnityEngine.XR.Interaction.Toolkit.XRBaseInteractable.IsSelectableBy(UnityEngine.XR.Interaction.Toolkit.IXRSelectInteractor) |
On |
UnityEngine.XR.Interaction.Toolkit.XRBaseInteractable.OnHoverEntering(UnityEngine.XR.Interaction.Toolkit.HoverEnterEventArgs) |
On |
UnityEngine.XR.Interaction.Toolkit.XRBaseInteractable.OnHoverExiting(UnityEngine.XR.Interaction.Toolkit.HoverExitEventArgs) |
On |
UnityEngine.XR.Interaction.Toolkit.XRBaseInteractable.OnSelectEntering(UnityEngine.XR.Interaction.Toolkit.SelectEnterEventArgs) |
On |
UnityEngine.XR.Interaction.Toolkit.XRBaseInteractable.OnSelectExiting(UnityEngine.XR.Interaction.Toolkit.SelectExitEventArgs) |
Proizvod | Verzije |
---|---|
MRTK3 Core Definitions | 3.0, 3.1, 3.2 |