mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class MoveObjByEyeGaze

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

    Fields

    LocalMinMax_X

    Declaration
    public Vector2 LocalMinMax_X
    Field Value
    Type Description
    Vector2

    LocalMinMax_X

    Declaration
    public Vector2 LocalMinMax_X
    Field Value
    Type Description
    Vector2

    LocalMinMax_Y

    Declaration
    public Vector2 LocalMinMax_Y
    Field Value
    Type Description
    Vector2

    LocalMinMax_Y

    Declaration
    public Vector2 LocalMinMax_Y
    Field Value
    Type Description
    Vector2

    LocalMinMax_Z

    Declaration
    public Vector2 LocalMinMax_Z
    Field Value
    Type Description
    Vector2

    LocalMinMax_Z

    Declaration
    public Vector2 LocalMinMax_Z
    Field Value
    Type Description
    Vector2

    PlacementSurface

    Declaration
    public PlacementSurfaces PlacementSurface
    Field Value
    Type Description
    PlacementSurfaces

    PlacementSurface

    Declaration
    public PlacementSurfaces PlacementSurface
    Field Value
    Type Description
    PlacementSurfaces

    Methods

    Angle_InitialGazeToCurrGazeDir()

    Compute the angle between the initial (when selecting the target) and current eye gaze direction.

    Declaration
    public float Angle_InitialGazeToCurrGazeDir()
    Returns
    Type Description
    Single

    Angle_InitialGazeToCurrGazeDir()

    Compute the angle between the initial (when selecting the target) and current eye gaze direction.

    Declaration
    public float Angle_InitialGazeToCurrGazeDir()
    Returns
    Type Description
    Single

    Angle_ToCurrHitTarget(GameObject)

    Compute angle between target center ( OR original targeting location??? ) and current targeting direction

    Declaration
    public float Angle_ToCurrHitTarget(GameObject gobj)
    Parameters
    Type Name Description
    GameObject gobj
    Returns
    Type Description
    Single

    Angle_ToCurrHitTarget(GameObject)

    Compute angle between target center ( OR original targeting location??? ) and current targeting direction

    Declaration
    public float Angle_ToCurrHitTarget(GameObject gobj)
    Parameters
    Type Name Description
    GameObject gobj
    Returns
    Type Description
    Single

    ConstrainMovement()

    Declaration
    public void ConstrainMovement()

    ConstrainMovement()

    Declaration
    public void ConstrainMovement()

    DragAndDrop_Finish()

    Finalize placing the currently selected target.

    Declaration
    public void DragAndDrop_Finish()

    DragAndDrop_Finish()

    Finalize placing the currently selected target.

    Declaration
    public void DragAndDrop_Finish()

    DragAndDrop_Start()

    Begin with the selection and movement of the focused target.

    Declaration
    public void DragAndDrop_Start()

    DragAndDrop_Start()

    Begin with the selection and movement of the focused target.

    Declaration
    public void DragAndDrop_Start()

    MoveTargetBy(Vector3)

    Declaration
    public void MoveTargetBy(Vector3 delta)
    Parameters
    Type Name Description
    Vector3 delta

    MoveTargetBy(Vector3)

    Declaration
    public void MoveTargetBy(Vector3 delta)
    Parameters
    Type Name Description
    Vector3 delta

    MoveTargetTo(Vector3)

    Declaration
    public void MoveTargetTo(Vector3 destination)
    Parameters
    Type Name Description
    Vector3 destination

    MoveTargetTo(Vector3)

    Declaration
    public void MoveTargetTo(Vector3 destination)
    Parameters
    Type Name Description
    Vector3 destination

    OnDrop_SnapToClosestDecimal()

    Declaration
    public void OnDrop_SnapToClosestDecimal()

    OnDrop_SnapToClosestDecimal()

    Declaration
    public void OnDrop_SnapToClosestDecimal()

    Implements

    IMixedRealitySpeechHandler
    IMixedRealitySourceStateHandler
    IMixedRealityPointerHandler
    IMixedRealityHandJointHandler
    MonoBehaviour
    In This Article
    • Fields
      • LocalMinMax_X
      • LocalMinMax_X
      • LocalMinMax_Y
      • LocalMinMax_Y
      • LocalMinMax_Z
      • LocalMinMax_Z
      • PlacementSurface
      • PlacementSurface
    • Methods
      • Angle_InitialGazeToCurrGazeDir()
      • Angle_InitialGazeToCurrGazeDir()
      • Angle_ToCurrHitTarget(GameObject)
      • Angle_ToCurrHitTarget(GameObject)
      • ConstrainMovement()
      • ConstrainMovement()
      • DragAndDrop_Finish()
      • DragAndDrop_Finish()
      • DragAndDrop_Start()
      • DragAndDrop_Start()
      • MoveTargetBy(Vector3)
      • MoveTargetBy(Vector3)
      • MoveTargetTo(Vector3)
      • MoveTargetTo(Vector3)
      • OnDrop_SnapToClosestDecimal()
      • OnDrop_SnapToClosestDecimal()
    • Implements
    Back to top Generated by DocFX