Emotiv.EdkDll.IS_FacialExpressionGetEyelidState C# (CSharp) Method

IS_FacialExpressionGetEyelidState() public static method

public static IS_FacialExpressionGetEyelidState ( IntPtr state, System.Single &leftEye, System.Single &rightEye ) : void
state System.IntPtr
leftEye System.Single
rightEye System.Single
return void
        public static void IS_FacialExpressionGetEyelidState(IntPtr state, out Single leftEye, out Single rightEye)
        {
            Unmanaged_IS_FacialExpressionGetEyelidState(state, out leftEye, out rightEye);
        }

Usage Example

Exemplo n.º 1
0
 /// <summary>
 /// Query the eyelids state of the user
 /// </summary>
 /// <remarks>
 /// The left and right eyelid state are stored in the parameter leftEye and rightEye
 /// respectively. They are floating point values ranging from 0.0 to 1.0.
 /// 0.0 indicates that the eyelid is fully opened while 1.0 indicates that the
 /// eyelid is fully closed.
 /// </remarks>
 /// <param name="leftEye">the left eyelid state (0.0 to 1.0)</param>
 /// <param name="rightEye">the right eyelid state (0.0 to 1.0)</param>
 public void FacialExpressionGetEyelidState(out Single leftEye, out Single rightEye)
 {
     EdkDll.IS_FacialExpressionGetEyelidState(hEmoState, out leftEye, out rightEye);
 }
EdkDll