Documentation

Unity Engine

Download Unity

Unity Engine

TryGetLeftEyeOpenAmount(out float)

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

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.