HolographicSpace 類別

定義

代表全像攝影場景,其中包含一或多個全像攝影相機轉譯其內容。

public ref class HolographicSpace 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 HolographicSpace 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 HolographicSpace
Public NotInheritable Class HolographicSpace
繼承
Object Platform::Object IInspectable HolographicSpace
屬性

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 引進)

備註

版本歷程記錄

Windows 版本 SDK 版本 已新增值
1703 15063 IsAvailable
1703 15063 IsAvailableChanged
1703 15063 IsSupported
1709 16299 IsConfigured
1803 17134 CreateFramePresentationMonitor
1803 17134 UserPresence
1803 17134 UserPresenceChanged
1803 17134 WaitForNextFrameReady
1803 17134 WaitForNextFrameReadyWithHeadStart
2004 19041 CreateFrameScanoutMonitor

屬性

IsAvailable

取得Mixed Reality頭戴式裝置是否準備好進行全像攝影轉譯。

IsConfigured

取得使用者是否已針對Mixed Reality頭戴式裝置設定目前的系統。

IsSupported

取得目前系統是否支援Mixed Reality頭戴式裝置。

PrimaryAdapterId

取得將全像攝影內容顯示至預設 HolographicDisplay 時所要使用的圖形介面卡識別碼。

UserPresence

描述使用者是否存在於頭戴式裝置內,以檢視及與這個 HolographicSpace 互動。

方法

CreateForCoreWindow(CoreWindow)

建立與指定視窗的 CoreApplicationView 對應的 HolographicSpace。

CreateFramePresentationMonitor(UInt32)

建立 物件,以監視此 HolographicSpace 中框架簡報報表的獨立資料流程。

CreateFrameScanoutMonitor(UInt32)

建立HolographicFrameScanoutMonitor,讓Windows Mixed Reality應用程式即時監視平臺的詳細效能和計時資訊。

CreateNextFrame()

建立全像攝影框架以供下一個畫面顯示。

SetDirect3D11Device(IDirect3DDevice)

指派將顯示全像攝影內容的 IDirect3DDevice。 如果應用程式建立不適當的裝置,就會發生錯誤。

WaitForNextFrameReady()

封鎖目前的執行緒,直到開始轉譯下一個畫面的正確時間為止。

WaitForNextFrameReadyWithHeadStart(TimeSpan)

封鎖目前的執行緒,直到開始轉譯下一個畫面的正確時間,並加上指定的前端開始。

事件

CameraAdded

當 HolographicCamera 新增至目前的 HolographicSpace 時發生。

CameraRemoved

發生于從目前的 HolographicSpace 移除 HolographicCamera 時。

IsAvailableChanged

發生于已設定且就緒Mixed Reality頭戴式裝置與系統連結或中斷連結時。

UserPresenceChanged

發生于使用者存在於頭戴式裝置內,或能夠檢視及與這個 HolographicSpace 互動變更時。

適用於