TargetGroupIterator Class
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.
Iterates through a given set of targets based on a required TargetGroupCreator.
public ref class TargetGroupIterator : UnityEngine::MonoBehaviour, Microsoft::MixedReality::Toolkit::Input::IMixedRealityPointerHandler, UnityEngine::EventSystems::IEventSystemHandler
[UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/TargetGroupIterator")]
[UnityEngine.RequireComponent(typeof(Microsoft.MixedReality.Toolkit.Examples.Demos.EyeTracking.TargetGroupCreatorRadial))]
public class TargetGroupIterator : UnityEngine.MonoBehaviour, Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointerHandler, UnityEngine.EventSystems.IEventSystemHandler
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/TargetGroupIterator")>]
[<UnityEngine.RequireComponent(typeof(Microsoft.MixedReality.Toolkit.Examples.Demos.EyeTracking.TargetGroupCreatorRadial))>]
type TargetGroupIterator = class
inherit MonoBehaviour
interface IMixedRealityPointerHandler
interface IEventSystemHandler
Public Class TargetGroupIterator
Inherits MonoBehaviour
Implements IEventSystemHandler, IMixedRealityPointerHandler
- Inheritance
-
UnityEngine.MonoBehaviourTargetGroupIterator
- Attributes
-
UnityEngine.AddComponentMenuAttribute UnityEngine.RequireComponentAttribute
- Implements
-
IMixedRealityPointerHandler UnityEngine.EventSystems.IEventSystemHandler
Constructors
TargetGroupIterator() |
Properties
CurrentTarget |
Property which returns the current query target. |
CurrentTargetIsValid |
Property which returns whether the current query target is valid. |
HighlightColor |
Property that returns the highlight color. |
PreviousTarget |
Property which returns the previous query target or 'null' in case there is no previous target. |
Methods
ResetIterator() |
Reset the target group iterator. |
Events
OnAllTargetsSelected | |
OnTargetSelected |