Version: 2022.2
LanguageEnglish
  • C#

Eyes.TryGetLeftEyeOpenAmount

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public bool TryGetLeftEyeOpenAmount(out float openAmount);

Parameters

OpenAmount A float value, with a range of 0.0 to 1.0, that indicates how open the left eye is. A value of 0.0 indicates that the eye is fully closed, while a value of 1.0 indicates that the eye is fully open.

Returns

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

Description

Gets a value that represents the how far the left eye is open.