文档

Unity Engine

Unity Engine

TryGetLeftEyeOpenAmount(out float)

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

Definition

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

TryGetLeftEyeOpenAmount(float)

public bool TryGetLeftEyeOpenAmount(out float openAmount)

Parameters

openAmount

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

Returns

Type

Description

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