Documentation

Unity Engine

Download Unity

Unity Engine

TryGetRightEyeOpenAmount(out float)

Gets a value that represents the how far the right eye is open.
Read time 1 minuteLast updated 12 days ago

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.