HolographicCamera 類別

定義

提供HolographicDisplayHolographicViewConfiguration的個別畫面轉譯功能。

public ref class HolographicCamera sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class HolographicCamera final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class HolographicCamera
Public NotInheritable Class HolographicCamera
繼承
Object Platform::Object IInspectable HolographicCamera
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v2.0 引進)

備註

應用程式會在呈現每個 HolographicFrame 之前,針對至少一個 HolographicCamera 轉譯到背景緩衝區。

版本歷程記錄

Windows 版本 SDK 版本 新增值
1703 15063 顯示
1703 15063 LeftViewportParameters
1703 15063 RightViewportParameters
1709 16299 IsPrimaryLayerEnabled
1709 16299 MaxQuadLayerCount
1709 16299 QuadLayers
1803 17134 CanOverrideViewport
1809 17763 IsHardwareContentProtectionEnabled
1809 17763 IsHardwareContentProtectionSupported
1903 18362 ViewConfiguration

屬性

CanOverrideViewport

取得顯示是否支援覆寫檢視區矩形。

Display

取得這個 HolographicCamera 所代表之顯示的相關中繼資料。

Id

取得 HolographicCamera 的唯一識別碼。

IsHardwareContentProtectionEnabled

取得或設定這個 HolographicCamera 是否會為主要層產生受硬體保護的背景緩衝區。

IsHardwareContentProtectionSupported

取得這個 HolographicCamera是否支援硬體內容保護。

IsPrimaryLayerEnabled

取得或設定此相機是否應該顯示應用程式填滿的主要背景緩衝區。

IsStereo

取得目前顯示器是否為身歷聲,而不是單聲道。

LeftViewportParameters

取得與顯示器左眼檢視區相關的轉譯參數。

MaxQuadLayerCount

取得目前系統支援的四層最大數目。

QuadLayers

取得可變動的四層清單,以顯示在此相機的主要背景緩衝區之上。

RenderTargetSize

取得配置給這個相機之背景緩衝區的圖元尺寸。

RightViewportParameters

取得與顯示器右眼檢視區相關的轉譯參數。

ViewConfiguration

取得這個HolographicCamera提供轉譯的HolographicViewConfiguration

ViewportScaleFactor

取得或設定要套用至預設檢視區大小的縮放比例。

方法

SetFarPlaneDistance(Double)

設定從檢視空間原點到檢視 frustum 遠平面的距離,沿著 Z 軸。

SetNearPlaneDistance(Double)

設定從檢視空間原點到檢視 frustum 近平面的距離,沿著 Z 軸。

適用於

另請參閱