Version: 2019.1 (switch to 2018.3 or 2017.4)
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

public bool TryGetLeftEyeOpenAmount(out float openAmount);

Parameters

OpenAmountA 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.

Did you find this page useful? Please give it a rating: