文档

Unity Engine

Unity Engine

TryGetRightEyeOpenAmount(out float)

Gets a value that represents the how far the right eye is open.
阅读时间1 分钟最后更新于 11 天前

Definition

  • Type: Method
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule

TryGetRightEyeOpenAmount(float)

public bool TryGetRightEyeOpenAmount(out float openAmount)

Parameters

openAmount

A value that is filled in with the amount that the right eye is open.

Returns

Type

Description

booltrue if eyes can be queried for the amount that the right eye is open; otherwise false.