This version of Unity is unsupported.

Eyes.TryGetRightEyeOpenAmount

Declaration

public bool TryGetRightEyeOpenAmount(out float openAmount);

Parameters

OpenAmount A float value, with a range of 0.0 to 1.0, that indicates how open the right 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 right eye is open; otherwise false.

Description

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