Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Kinect for Windows 1.8
Callback function to call when an interaction stream needs information to adjust a hand pointer position relative to the UI.
Syntax
hitTestHandler(trackingId, handType, xPos, yPos);
Parameters
trackingId
Type: NumberThe tracking ID of the skeleton for which interaction information is being retrieved.
handType
Type: StringSpecifies "left" or "right" to represent the hand type for which interaction information is being retrieved.
xPos
Type: NumberThe x-coordinate of location in the UI for which interaction information is being retrieved. A value of 0.0 corresponds to the left edge of the interaction region. A value of 1.0 corresponds to the right edge of the interaction region.
yPos
Type: NumberThe y-coordinate of location in the UI for which interaction information is being retrieved. A value of 0.0 corresponds to the top edge of the interaction region. A value of 1.0 corresponds to the bottom edge of the interaction region.
Requirements
Library: Kinect-1.8.0.js