HolographicCameraPose.OverrideViewTransform 方法

定義

通知撰寫器,應用程式正以替代次佳檢視來轉譯此畫面。

void OverrideViewTransform(SpatialCoordinateSystem const& coordinateSystem, HolographicStereoTransform const& coordinateSystemToViewTransform);
public void OverrideViewTransform(SpatialCoordinateSystem coordinateSystem, HolographicStereoTransform coordinateSystemToViewTransform);
function overrideViewTransform(coordinateSystem, coordinateSystemToViewTransform)
Public Sub OverrideViewTransform (coordinateSystem As SpatialCoordinateSystem, coordinateSystemToViewTransform As HolographicStereoTransform)

參數

coordinateSystem
SpatialCoordinateSystem

將表示替代次佳檢視轉換的座標系統。

coordinateSystemToViewTransform
HolographicStereoTransform

替代的次佳檢視轉換。

Windows 需求

裝置系列
Windows 10, version 1803 (已於 10.0.17134.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v6.0 引進)

備註

警告: 使用該畫面 格的 TryGetViewTransform 值以外的任何檢視轉換來轉譯框架,將會導致錯誤的取代,因而降低視覺品質。 如果替代檢視轉換的位置元件已變更,則此品質降低最明顯。

不過,如果您必須轉譯具有替代檢視轉換的框架,請務必呼叫此方法並提供該轉換。 如果撰寫器不知道用於轉譯的實際轉換,視覺品質會更糟。

適用於