Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TryGetRightEyeOpenAmount(out float)

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

Definition

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

TryGetRightEyeOpenAmount(float)

public bool TryGetRightEyeOpenAmount(out float openAmount)

Parameters

openAmount

Returns

Type

Description

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