共用方式為


DepthCorrelatedCoordinateMapper.UnprojectPoints 方法

定義

使用從 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

未進行專案點的座標系統。

results

Vector3[]

Vector3[]

float3[]

3D 空間中的點陣列。

適用於