API reference

InteractableGroupView Class

Extends MonoBehaviour
This class implements higher level logic to forward the highest IInteractableView state of any of the IInteractableView in its list

Protected Fields

_started : bool
Signature
bool Oculus.Interaction.InteractableGroupView._started

Fields

InteractorViews : IEnumerable< IInteractorView >
Implementation of IInteractableView.InteractorViews; for details, please refer to the related documentation provided for that interface.
Signature
IEnumerable<IInteractorView> Oculus.Interaction.InteractableGroupView.InteractorViews
SelectingInteractorViews : IEnumerable< IInteractorView >
Implementation of IInteractableView.SelectingInteractorViews; for details, please refer to the related documentation provided for that interface.
Signature
IEnumerable<IInteractorView> Oculus.Interaction.InteractableGroupView.SelectingInteractorViews

Properties

Data : object
[Get]
Implementation of IInteractableView.Data; for details, please refer to the related documentation provided for that interface.
Signature
object Oculus.Interaction.InteractableGroupView.Data
InteractorsCount : int
[Get]
The sum of IInteractableView.InteractorViews counts for each interactable in Interactables.
Signature
int Oculus.Interaction.InteractableGroupView.InteractorsCount
MaxInteractors : int
[Get]
Implementation of IInteractableView.MaxInteractors; for details, please refer to the related documentation provided for that interface.
Signature
int Oculus.Interaction.InteractableGroupView.MaxInteractors
MaxSelectingInteractors : int
[Get]
Implementation of IInteractableView.MaxSelectingInteractors; for details, please refer to the related documentation provided for that interface.
Signature
int Oculus.Interaction.InteractableGroupView.MaxSelectingInteractors
SelectingInteractorsCount : int
[Get]
The sum of IInteractableView.SelectingInteractorViews counts for each interactable in Interactables.
Signature
int Oculus.Interaction.InteractableGroupView.SelectingInteractorsCount
State : InteractableState
[Get][Set]
Implementation of IInteractableView.State; for details, please refer to the related documentation provided for that interface.
Signature
InteractableState Oculus.Interaction.InteractableGroupView.State

Events

WhenInteractorViewAdded : Action< IInteractorView >
Implementation of IInteractableView.WhenInteractorViewAdded; for details, please refer to the related documentation provided for that interface.
Signature
Action<IInteractorView> Oculus.Interaction.InteractableGroupView.WhenInteractorViewAdded
WhenInteractorViewRemoved : Action< IInteractorView >
Implementation of IInteractableView.WhenInteractorViewRemoved; for details, please refer to the related documentation provided for that interface.
Signature
Action<IInteractorView> Oculus.Interaction.InteractableGroupView.WhenInteractorViewRemoved
WhenSelectingInteractorViewAdded : Action< IInteractorView >
Implementation of IInteractableView.WhenSelectingInteractorViewAdded; for details, please refer to the related documentation provided for that interface.
Signature
Action<IInteractorView> Oculus.Interaction.InteractableGroupView.WhenSelectingInteractorViewAdded
WhenSelectingInteractorViewRemoved : Action< IInteractorView >
Implementation of IInteractableView.WhenSelectingInteractorViewRemoved; for details, please refer to the related documentation provided for that interface.
Signature
Action<IInteractorView> Oculus.Interaction.InteractableGroupView.WhenSelectingInteractorViewRemoved
WhenStateChanged : Action< InteractableStateChangeArgs >
Implementation of IInteractableView.WhenStateChanged; for details, please refer to the related documentation provided for that interface.
Signature
Action<InteractableStateChangeArgs> Oculus.Interaction.InteractableGroupView.WhenStateChanged

Protected Methods

Awake ()
Signature
virtual void Oculus.Interaction.InteractableGroupView.Awake()
Returns
void
OnDisable ()
Signature
virtual void Oculus.Interaction.InteractableGroupView.OnDisable()
Returns
void
OnEnable ()
Signature
virtual void Oculus.Interaction.InteractableGroupView.OnEnable()
Returns
void
Start ()
Signature
virtual void Oculus.Interaction.InteractableGroupView.Start()
Returns
void

Methods

InjectAllInteractableGroupView ( interactables )
Injects all required dependencies for a dynamically instantiated InteractableGroupView.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.InteractableGroupView.InjectAllInteractableGroupView(List< IInteractableView > interactables)
Parameters
interactables: List< IInteractableView >
Returns
void
InjectInteractables ( interactables )
Sets the underlying IInteractableView set for a dynamically instantiated InteractableGroupView.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.InteractableGroupView.InjectInteractables(List< IInteractableView > interactables)
Parameters
interactables: List< IInteractableView >
Returns
void
InjectOptionalData ( data )
Sets the underlying optional data object for a dynamically instantiated InteractableGroupView.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.InteractableGroupView.InjectOptionalData(object data)
Parameters
data: object
Returns
void