HolographicFrame 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表應用程式必須轉譯到所有相機的全像攝影內容框架。
public ref class HolographicFrame 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 HolographicFrame 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 HolographicFrame
Public NotInheritable Class HolographicFrame
- 繼承
- 屬性
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 都會從 CreateNextFrame 呼叫追蹤端對端延遲,直到顯示框架為止。 這會決定系統會向前查看下一個畫面預測的畫面格數目。
版本歷程記錄
Windows 版本 | SDK 版本 | 新增值 |
---|---|---|
1709 | 16299 | GetQuadLayerUpdateParameters |
2004 | 19041 | 識別碼 |
屬性
AddedCameras |
取得自上一個畫面之後新增的 HolographicCamera 物件清單。 |
CurrentPrediction |
取得目前 HolographicFrame 的最新相機位置預測。 |
Duration |
取得畫面上畫面的持續時間。 |
Id |
取得 全像攝影框架 在其父 HolographicSpace內的唯一識別碼。 |
RemovedCameras |
取得自上一個畫面之後移除的 HolographicCamera 物件清單。 |
方法
GetQuadLayerUpdateParameters(HolographicQuadLayer) |
取得更新承載,可讓應用程式從這個框架向前設定特定四層的參數。 |
GetRenderingParameters(HolographicCameraPose) |
取得使用指定相機姿勢呈現目前畫面所需的參數。 |
PresentUsingCurrentPrediction() |
呈現所有相機的目前畫面,然後等到下一個畫面。 |
PresentUsingCurrentPrediction(HolographicFramePresentWaitBehavior) |
針對具有指定等候行為的所有相機,呈現目前的畫面格。 |
UpdateCurrentPrediction() |
計算 CurrentPrediction 屬性的更新預測。 |
WaitForFrameToFinish() |
封鎖目前的執行緒,直到此框架完成且顯示于顯示器上為止。 |
適用於
意見反應
提交並檢視相關的意見反應