TargetGroupIterator Class
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 Unity
Engine. Event Systems. IEvent System Handler
Current |
Property which returns the current query target. |
Current |
Property which returns whether the current query target is valid. |
Highlight |
Property that returns the highlight color. |
Previous |
Property which returns the previous query target or 'null' in case there is no previous target. |
Reset |
Reset the target group iterator. |
Produit | Versions |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |