Language
Edit

BubbleChildHoverEvents Class

Definition

A InteractableParentEventRoute<S,T> that retransmits hover events from child game objects up the hierarchy, to the child game object's parents.

public sealed class BubbleChildHoverEvents : MixedReality.Toolkit.Experimental.InteractableParentEventRoute<UnityEngine.XR.Interaction.Toolkit.IXRHoverInteractable,MixedReality.Toolkit.Experimental.IXRHoverInteractableParent>
type BubbleChildHoverEvents = class
    inherit InteractableParentEventRoute<IXRHoverInteractable, IXRHoverInteractableParent>
Public NotInheritable Class BubbleChildHoverEvents
Inherits InteractableParentEventRoute(Of IXRHoverInteractable, IXRHoverInteractableParent)
Inheritance
InteractableParentEventRoute<UnityEngine.XR.Interaction.Toolkit.IXRHoverInteractable,IXRHoverInteractableParent>
BubbleChildHoverEvents

Remarks

This is an experimental feature. This class is early in the cycle, it has been labeled as experimental to indicate that it is still evolving, and subject to change over time. Parts of the MRTK, such as this class, appear to have a lot of value even if the details haven't fully been fleshed out. For these types of features, we want the community to see them and get value out of them early enough so to provide feedback.

Constructors

Name Description
BubbleChildHoverEvents()

Methods

Name Description
GetTargets(GameObject, List<T>)

Search for and return all IXRInteractableEventRouteTarget objects that should receive events from the registered IXRInteractable objects.

(Inherited from InteractableParentEventRoute<S,T>)
OnEnabled(GameObject)

Enable this event route by searching for IXRInteractableEventRouteTarget.

(Inherited from InteractableEventRoute<S,T>)
Register(IXRInteractable)

Starts listening to events from an unregistered IXRInteractable.

(Inherited from InteractableEventRoute<S,T>)
Register(S, T)

Add event handlers that will handle events from the source and direct them to the target.

(Inherited from InteractableEventRoute<S,T>)
Unregister(IXRInteractable)

Stop listening to events from a registered IXRInteractable.

(Inherited from InteractableEventRoute<S,T>)
Unregister(S, T)

Remove event handlers that are handling events from the source and directing them to the target.

(Inherited from InteractableEventRoute<S,T>)

Applies to