DepthCorrelatedCoordinateMapper.UnprojectPoints Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.