Share via


KinectSensor.MapSkeletonPointToDepth Method

Kinect for Windows 1.5, 1.6, 1.7, 1.8

Obsolete starting with version 1.6; replaced by the CoordinateMapper.MapDepthFrameToColorFrame method. In versions prior to 1.6, this method maps a skeleton point to a depth point.

Syntax

public DepthImagePoint MapSkeletonPointToDepth (
         SkeletonPoint skeletonPoint,
         DepthImageFormat depthImageFormat
)
'Declaration
Public Function MapSkeletonPointToDepth ( _
         skeletonPoint As SkeletonPoint, _
         depthImageFormat As DepthImageFormat _
) As DepthImagePoint 

Parameters

Return Value

Type: DepthImagePoint
The DepthImagePoint that that contains the coordinate (x, y) and depth of 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