API reference
API reference
Select your platform
No SDKs available
No versions available

InteractableRegistry Class

A registry that houses a set of concrete Interactables.

Overview

Public Member Functions

void
Register
( TInteractable interactable )
void
Unregister
( TInteractable interactable )
List
( TInteractor interactor )
Returns a filtered collection of interactables.
List ( )
Returns all interactables in this registry.

Object Data

List
( TInteractor interactor,
HashSet< TInteractable > onlyInclude )
Returns a filtered collection of interactables.

Details

Member Functions

Oculus.Interaction.InteractableRegistry< TInteractor, TInteractable >.InteractableRegistry ( )
No description available.
virtual void Oculus.Interaction.InteractableRegistry< TInteractor, TInteractable >.Register
( TInteractable interactable )
No description available.
virtual void Oculus.Interaction.InteractableRegistry< TInteractor, TInteractable >.Unregister
( TInteractable interactable )
No description available.
virtual InteractableSet Oculus.Interaction.InteractableRegistry< TInteractor, TInteractable >.List
( TInteractor interactor )
Returns a filtered collection of interactables.
Parameters
interactor
Only interactables that can be selected by this interactor will be returned
virtual InteractableSet Oculus.Interaction.InteractableRegistry< TInteractor, TInteractable >.List ( )
Returns all interactables in this registry.

Object Data

InteractableSet Oculus.Interaction.InteractableRegistry< TInteractor, TInteractable >.List
( TInteractor interactor,
HashSet< TInteractable > onlyInclude )
Returns a filtered collection of interactables.
Parameters
interactor
Only interactables that can be selected by this interactor will be returned
onlyInclude
Only interactables included in this subset will be included in the returned collection
Did you find this page helpful?
Thumbs up icon
Thumbs down icon