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.
Dictionary mapping user tracking Ids to colors corresponding to those users, used when UserColoringMode is Manual.
KinectUserViewer never modifies the contents of UserColors dictionary.
KinectUserViewer will read from UserColors every time it receives a new depth frame, to rebuild the coloring table at the beginning of a coloring pass, so it is not necessary to notify the KinectUserViewer of changes within this dictionary.
UserColors is only expected to be accessed from the KinectUserViewer dispatcher thread.
Syntax
public Dictionary<int, Color> UserColors { get; set; }
Property Value
Type: Dictionary<Int32, Color>
The color associated with the given user.
Requirements
Namespace: Microsoft.Kinect.Toolkit.Controls
Assembly: Microsoft.Kinect.Toolkit.Controls (in microsoft.kinect.toolkit.controls.dll)
See Also
Reference
KinectUserViewer Class
KinectUserViewer Members
Microsoft.Kinect.Toolkit.Controls Namespace