Show / Hide Table of Contents

    Class TargetGroupIterator

    Iterates through a given set of targets based on a required TargetGroupCreator.

    Inheritance
    Object
    TargetGroupIterator
    Implements
    IMixedRealityPointerHandler
    Namespace: Microsoft.MixedReality.Toolkit.Examples.Demos.EyeTracking
    Assembly: cs.temp.dll.dll
    Syntax
    public class TargetGroupIterator : MonoBehaviour, IMixedRealityPointerHandler

    Properties

    CurrentTarget

    Property which returns the current query target.

    Declaration
    public GameObject CurrentTarget { get; }
    Property Value
    Type Description
    GameObject

    CurrentTargetIsValid

    Property which returns whether the current query target is valid.

    Declaration
    public bool CurrentTargetIsValid { get; }
    Property Value
    Type Description
    Boolean

    HighlightColor

    Property that returns the highlight color.

    Declaration
    public Color HighlightColor { get; }
    Property Value
    Type Description
    Color

    PreviousTarget

    Property which returns the previous query target or 'null' in case there is no previous target.

    Declaration
    public GameObject PreviousTarget { get; }
    Property Value
    Type Description
    GameObject

    Methods

    ResetIterator()

    Reset the target group iterator.

    Declaration
    public void ResetIterator()

    Events

    OnAllTargetsSelected

    Declaration
    public event TargetGroupIterator.TargetGroupEventHandler OnAllTargetsSelected
    Event Type
    Type Description
    TargetGroupIterator.TargetGroupEventHandler

    OnTargetSelected

    Declaration
    public event TargetGroupIterator.TargetGroupEventHandler OnTargetSelected
    Event Type
    Type Description
    TargetGroupIterator.TargetGroupEventHandler

    Implements

    IMixedRealityPointerHandler
    Back to top Generated by DocFX