Share via


KinectUserViewer Members

Kinect for Windows 1.7, 1.8

The following table(s) list the members exposed by the KinectUserViewer type.

Public Constructors

Name Description
Public Method KinectUserViewer Creates a new KinectUserViewer object.

Public Properties

Name Description
Public Property DefaultUserColor Gets or sets the default user color.
Public Property ImageBackground Specifies the image background to use.
Public Property KinectSensor Specifies which Kinect sensor to use to obtain the user image.
Public Property PrimaryUserColor Gets or sets the primary user color.
Public Property UserColoringMode Gets or sets the coloring mode that indicates how the appropriate color for each user in scene will be determined.
Public Property UserColors Dictionary mapping user tracking Ids to colors corresponding to those users, used when UserColoringMode is Manual.

Protected Methods

Name Description
Protected Method ArrangeOverride Override the automatic sizing.
Protected Method MeasureOverride Override the automatic measure.
Protected Method OnRender Specifies the drawing context to use when rendering the user viewer.
Protected Method OnRenderSizeChanged Rerender the user viewer with a new size.

See Also

Reference

KinectUserViewer Class
Microsoft.Kinect.Toolkit.Controls Namespace