Created
May 8, 2013 14:51
-
-
Save dotKokott/5540973 to your computer and use it in GitHub Desktop.
example InteractionClient
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class InteractionClient : IInteractionClient { | |
public InteractionInfo GetInteractionInfoAtLocation(int skeletonTrackingId, InteractionHandType handType, double x, double y) { | |
var info = new InteractionInfo(); | |
info.IsGripTarget = true; | |
info.IsPressTarget = false; | |
info.PressAttractionPointX = 0f; | |
info.PressAttractionPointY = 0f; | |
info.PressTargetControlId = 0; | |
return info; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment