DepthCorrelatedCoordinateMapper.UnprojectPoints Method

Definition

Unprojects an array of 2D points from a MediaFrameSource to a point in 3D space, using depth information from the DepthMediaFrame from which the coordinate mapper was created with a call to TryCreateCoordinateMapper.

public:
 virtual void UnprojectPoints(Platform::Array <Point> ^ sourcePoints, SpatialCoordinateSystem ^ targetCoordinateSystem, Platform::Array <float3> ^ results) = UnprojectPoints;
void UnprojectPoints(winrt::array_view <Point> const& sourcePoints, SpatialCoordinateSystem const& targetCoordinateSystem, winrt::array_view <float3> & results);
public void UnprojectPoints(Point[] sourcePoints, SpatialCoordinateSystem targetCoordinateSystem, Vector3[] results);
function unprojectPoints(sourcePoints, targetCoordinateSystem, results)
Public Sub UnprojectPoints (sourcePoints As Point(), targetCoordinateSystem As SpatialCoordinateSystem, results As Vector3())

Parameters

sourcePoints
Point[]

The array of 2D source points within the MediaFrameSource to map.

targetCoordinateSystem
SpatialCoordinateSystem

The coordinate system to which the points are unprojected.

results

Vector3[]

Vector3[]

float3[]

An array of points in 3D space.

Applies to