DepthCorrelatedCoordinateMapper.UnprojectPoint 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 a 2D point 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 float3 UnprojectPoint(Point sourcePoint, SpatialCoordinateSystem ^ targetCoordinateSystem) = UnprojectPoint;
float3 UnprojectPoint(Point const& sourcePoint, SpatialCoordinateSystem const& targetCoordinateSystem);
public Vector3 UnprojectPoint(Point sourcePoint, SpatialCoordinateSystem targetCoordinateSystem);
function unprojectPoint(sourcePoint, targetCoordinateSystem)
Public Function UnprojectPoint (sourcePoint As Point, targetCoordinateSystem As SpatialCoordinateSystem) As Vector3
Parameters
- sourcePoint
- Point
The 2D source point within the MediaFrameSource to map.
- targetCoordinateSystem
- SpatialCoordinateSystem
The coordinate system to which the point is unprojected.
Returns
An point in 3D space.