GazePinchInteractor.GetValidTargets(List<IXRInteractable>) Method
Definition
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.
public override void GetValidTargets(System.Collections.Generic.List<UnityEngine.XR.Interaction.Toolkit.IXRInteractable> targets);
override this.GetValidTargets : System.Collections.Generic.List<UnityEngine.XR.Interaction.Toolkit.IXRInteractable> -> unit
Public Overrides Sub GetValidTargets (targets As List(Of IXRInteractable))
Parameters
- targets
- List<UnityEngine.XR.Interaction.Toolkit.IXRInteractable>
Implements
Remarks
This indirect interactor harvests the valid targets from the associated MixedReality.Toolkit.Input.GazePinchInteractor.dependentInteractor, allowing for gaze-targeting or other indirect targeting mechanisms. As a result, the targeting/hovering rules are inherited from the MixedReality.Toolkit.Input.GazePinchInteractor.dependentInteractor.