Version: 2020.2

Eyes

struct in UnityEngine.XR

切换到手册

描述

包含 XR 输入子系统中 XRNode 处设备的眼睛跟踪数据。

表示设备收集的眼睛跟踪数据。Eyes 类型包含眼睛位置、旋转以及指示左眼和右眼的凝视点和眨眼值的数据。全部眼睛空间信息都在 Unity 坐标空间中。

公共函数

TryGetFixationPointGets the point represents the convergence of the line of sight for both eyes.
TryGetLeftEyeOpenAmount获取表示左眼张开程度的值。
TryGetLeftEyePosition获取描述左眼位置的 Vector3。
TryGetLeftEyeRotation获取描述左眼旋转的 Quaternion。
TryGetRightEyeOpenAmount获取表示右眼张开程度的值。
TryGetRightEyePosition获取描述右眼位置的 Vector3。
TryGetRightEyeRotation获取描述右眼旋转的 Quaternion。
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961