Skip to content

Instantly share code, notes, and snippets.

@dotKokott
Created May 8, 2013 14:51
Show Gist options
  • Save dotKokott/5540973 to your computer and use it in GitHub Desktop.
Save dotKokott/5540973 to your computer and use it in GitHub Desktop.
example InteractionClient
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