DepthCorrelatedCoordinateMapper.UnprojectPoint 方法

定義

使用從 MediaFrameSource 呼叫TryCreateCoordinateMapper建立之DepthMediaFrame的深度資訊,將 2D 點從MediaFrameSource取消產生至 3D 空間中的點。

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

參數

sourcePoint
Point

要對應之 MediaFrameSource內的 2D 來源點。

targetCoordinateSystem
SpatialCoordinateSystem

取消專案點的座標系統。

傳回

Vector3 Vector3

float3

3D 空間中的點。

適用於