Up |
_CBSmiNewSample
This function sets the Callback for new sample data available from SMI RED system.
Prototype :
fun [ObjSmi fun [ObjSmi u0 [F I I] [F I I]] u1 u0] ObjSmi
- ObjSmi : the ObjSmi object
- fun [ObjSmi u0 [F I I] [F I I]] : SCOL CallBack function to call. The supplemental argument are two tuples with the eye pupil diameter and the x, y gaze direction (for each eye, first the left, next the right).
- u0 : user parameter
Return : ObjSmi the same ObjSmi object if success, NIL otherwise
See also :
Example :