InteractableParentEventRoute<S,T> 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.
A InteractableEventRoute<S,T> that targets child game objects the are parents of interactables.
public abstract class InteractableParentEventRoute<S,T> : MixedReality.Toolkit.Experimental.InteractableEventRoute<S,T> where S : IXRInteractable where T : IXRInteractableEventRouteTarget
type InteractableParentEventRoute<'S, 'T (requires 'S :> IXRInteractable and 'T :> IXRInteractableEventRouteTarget)> = class
inherit InteractableEventRoute<'S, 'T (requires 'S :> IXRInteractable and 'T :> IXRInteractableEventRouteTarget)>
Public MustInherit Class InteractableParentEventRoute(Of S, T)
Inherits InteractableEventRoute(Of S, T)
- S
The specialized type of IXRInteractable that will be registered with this. Only events originating from this type will be handled.
- T
The specialized type of IXRInteractableEventRouteTarget that will receive interactable events.
- Inheritance
- Derived
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.
Get |
Search for and return all IXRInteractableEventRouteTarget objects that should receive events from the registered IXRInteractable objects. |
On |
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 |
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 |
Tuote | Versiot |
---|---|
MRTK3 Core Definitions | 3.0, 3.1, 3.2 |