Share via


KinectCoreWindow Class

Represents a Kinect for Windows app with input events and basic user interface behaviors. Only 1 core window is in “focus” at any one time, and that one gets the pointers and related events. The coordinate space of the window is normalized to the [0,1] range in both dimensions.

Syntax

public ref class KinectCoreWindow sealed
public sealed class KinectCoreWindow
var kinectCoreWindow = WindowsPreview.Kinect.Input.KinectCoreWindow;

Members

KinectCoreWindow has the following members.

Properties

Name Description
KinectEngagementMode Gets the current Kinect engagement mode.
KinectManualEngagedHands Gets a list of body hand pairs that are manually engaged.
MaximumKinectEngagedPersonCount Gets the maximum number of users that can be tracked as engaged at one time.

Methods

Name Description
GetForCurrentThread Gets the KinectCoreWindow for the current thread.
OverrideKinectInteractionMode Overrides the current interaction mode.
SetKinectOnePersonManualEngagement Sets the engagement mode to one person manual engagement.
SetKinectOnePersonSystemEngagement Sets the engagement mode to one person system engagement.
SetKinectTwoPersonManualEngagement Sets the engagement mode to two person manual engagement.
SetKinectTwoPersonSystemEngagement Sets the engagement mode to two person system engagement.

Events

Name Description
PointerEntered Occurs when a pointer ID is first seen by the window.
PointerExited Occurs when a pointer moves outside the bounding box of the KinectCoreWindow.
PointerMoved Occurs when a pointer ID seen by the window moves.

Requirements

Namespace: WindowsPreview.Kinect.Input

Metadata: windowspreview.kinect.winmd

See also

Reference

WindowsPreview.Kinect.Input Namespace