編輯

共用方式為


FollowEyeGazeGazeProvider Class

Definition

Sample for allowing the game object that this script is attached to follow the user's eye gaze at a given distance of "DefaultDistanceInMeters".

public ref class FollowEyeGazeGazeProvider : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/FollowEyeGazeGazeProvider")]
public class FollowEyeGazeGazeProvider : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/FollowEyeGazeGazeProvider")>]
type FollowEyeGazeGazeProvider = class
    inherit MonoBehaviour
Public Class FollowEyeGazeGazeProvider
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
FollowEyeGazeGazeProvider
Attributes
UnityEngine.AddComponentMenuAttribute

Constructors

FollowEyeGazeGazeProvider()

Applies to