示例#1
0
 public void ExpressivGetEyeLocation(out float x, out float y)
 {
     EdkDll.ES_ExpressivGetEyeLocation(this.hEmoState, out x, out y);
 }
示例#2
0
 /// <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 ExpressivGetEyeLocation(out Single x, out Single y)
 {
     EdkDll.ES_ExpressivGetEyeLocation(hEmoState, out x, out y);
 }