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

SecondaryInteractorFilter Class

Extends MonoBehaviour
Checks for the existence of a Secondary Interactor Connection given a Primary Interaction.
Filters out Interactors which are not Secondary to a hovering or selecting Primary.

Protected Fields

_started : bool
Signature
bool Oculus.Interaction.SecondaryInteractorFilter._started

Properties

PrimaryInteractable : IInteractable
[Get]
Signature
IInteractable Oculus.Interaction.SecondaryInteractorFilter.PrimaryInteractable
SecondaryInteractable : IInteractable
[Get]
Signature
IInteractable Oculus.Interaction.SecondaryInteractorFilter.SecondaryInteractable

Protected Methods

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

Methods

Filter ( gameObject )
Signature
bool Oculus.Interaction.SecondaryInteractorFilter.Filter(GameObject gameObject)
Parameters
gameObject: GameObject
Returns
bool
InjectAllSecondaryInteractorFilter ( primaryInteractable , secondaryInteractable , selectRequired )
Signature
void Oculus.Interaction.SecondaryInteractorFilter.InjectAllSecondaryInteractorFilter(IInteractable primaryInteractable, IInteractable secondaryInteractable, bool selectRequired=false)
Parameters
primaryInteractable: IInteractable
secondaryInteractable: IInteractable
selectRequired: bool
Returns
void