Share via


DepthImageFrame.MapToSkeletonPoint Method

Kinect for Windows 1.5, 1.6, 1.7, 1.8

Obsolete starting with version 1.6; replaced by the CoordinateMapper.MapDepthPointToSkeletonPoint Method. In versions prior to 1.6, this method looks up the skeleton point location for a given depth point, (x,y).

Syntax

public SkeletonPoint MapToSkeletonPoint (
         int depthX,
         int depthY
)
'Declaration
Public Function MapToSkeletonPoint ( _
         depthX As Integer, _
         depthY As Integer _
) As SkeletonPoint 

Parameters

  • depthX
    Type: Int32
    The depth point x value.
  • depthY
    Type: Int32
    The depth point y value.

Return Value

Type: SkeletonPoint
The resulting 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

DepthImageFrame Class
DepthImageFrame Members
Microsoft.Kinect Namespace