Relevant only to lenses that use SpectaclesSyncKit when it has SyncInteractionManager in its prefab. Stores the DispatchableEventArgs of a frame to automatically propagate to other connections using SpectaclesSyncKit's SyncInteractionManager.
Static
getRemoves an Interactable from the interaction manager's registry.
The Interactable to deregister.
Removes an InteractionPlane from the interaction manager's registry.
The InteractionPlane to deregister.
Removes an Interactor from the interaction manager's registry, so that it will no longer be considered when determining which interactors are interacting with interactables.
The Interactor to deregister.
Dispatches an event in 3 phases:
The eventArgs.origin is not included in the propagation path and the dispatch starts at eventArgs.origin child.
The event arguments to dispatch.
Returns an Interactable by the collider attached to it. This is an optimization to reduce expensive getComponent calls.
The ColliderComponent to filter interactables by.
The interactable that matches the collider.
Relevant only to lenses that use SpectaclesSyncKit when it has SyncInteractionManager in its prefab. Returns the Interactable of the passed ID.
Returns the interactable of the passed SceneObject.
The SceneObject to filter interactables by.
The interactable that matches the scene object.
Relevant only to lenses that use SpectaclesSyncKit when it has SyncInteractionManager in its prefab. Returns the ID of the passed Interactable if it is synced.
the targeting mode that the interactable(s) are configured to
Returns all interactables that are set to the passed targeting mode.
TargetingMode to filter interactables by
an array of interactables that match the targeting mode
Returns all interactors of matching interactor type
The InteractorInputType to filter interactors by.
An array of interactors that match the input type.
Returns all interactors that are currently targeting
An array of interactors that are targeting.
Adds an Interactable to the interaction manager's registry. This registry helps speed up calculations when raycasting objects in the scene.
The Interactable to register.
Adds an InteractionPlane to the interaction manager's registry, so it can be used to determine which {interactors} are interacting with interaction planes.
The InteractionPlane to register.
Adds an Interactor to the interaction manager's registry, so it can be used to determine which {interactors} are interacting with interactables.
The Interactor to register.
Manages interactions between Interactor and Interactable, and decides if events need to be transmitted to Interactable