public static IS_FacialExpressionGetEyeLocation ( |
||
state | ||
x | System.Single | |
y | System.Single | |
return | void |
/// <summary> /// Query the eyes position of the user /// </summary> /// <remarks> /// The horizontal and vertical position of the eyes are stored in the parameter x and y /// respectively. They are floating point values ranging from -1.0 to 1.0. /// /// For horizontal position, -1.0 indicates that the user is looking left while /// 1.0 indicates that the user is looking right. /// /// For vertical position, -1.0 indicates that the user is looking down while /// 1.0 indicatest that the user is looking up. /// /// This function assumes that both eyes have the same horizontal or vertical positions. /// (i.e. no cross eyes) /// </remarks> /// <param name="x">the horizontal position of the eyes</param> /// <param name="y">the veritcal position of the eyes</param> public void FacialExpressionGetEyeLocation(out Single x, out Single y) { EdkDll.IS_FacialExpressionGetEyeLocation(hEmoState, out x, out y); }