KinectSensor.MapSkeletonPointToColor Method
Kinect for Windows 1.5, 1.6, 1.7, 1.8
Obsolete starting with version 1.6; replaced by the CoordinateMapper.MapSkeletonPointToColorPoint method. In versions prior to 1.6, this method maps a skeleton point to a color point.
Syntax
public ColorImagePoint MapSkeletonPointToColor (
SkeletonPoint skeletonPoint,
ColorImageFormat colorImageFormat
)
'Declaration
Public Function MapSkeletonPointToColor ( _
skeletonPoint As SkeletonPoint, _
colorImageFormat As ColorImageFormat _
) As ColorImagePoint
Parameters
- skeletonPoint
Type: SkeletonPoint
The supplied SkeletonPoint. - colorImageFormat
Type: ColorImageFormat
The color format to convert to.
Return Value
Type: ColorImagePoint
The ColorImagePoint corresponding to the given skeleton point.
Remarks
There is a known issue with calling this method when the sensor is stopped or disconnected.
Requirements
Namespace: Microsoft.Kinect
Assembly: Microsoft.Kinect (in microsoft.kinect.dll)
See Also
Reference
KinectSensor Class
KinectSensor Members
Microsoft.Kinect Namespace