DepthCorrelatedCoordinateMapper.UnprojectPoints 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用從 MediaFrameSource 呼叫TryCreateCoordinateMapper所建立之 DepthMediaFrame 的深度資訊,將 2D 點陣列從MediaFrameSource取消設定為 3D 空間中的點。
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())
參數
- sourcePoints
- Point[]
要對應的 MediaFrameSource內 2D 來源點的陣列。
- targetCoordinateSystem
- SpatialCoordinateSystem
未進行專案點的座標系統。