FuzzyGazeInteractor.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>
Remarks
This differs from the underlying XRRayInteractor implementation because the best valid target is not always the closest one with the fuzzy gaze scenario. This makes the XRRayInteractor's optimization of invalidating targets which are further from the user than another UI or invalid target (for example, an object partially covered by a wall or UI element) not applicable for this scenario. Thus this implementation doesn't call base.GetValidTargets at any point.