HolographicFrame HolographicFrame HolographicFrame HolographicFrame HolographicFrame Class

Definition

Represents a frame of holographic content that an app must render to all cameras.

public : sealed class HolographicFrame
struct winrt::Windows::Graphics::Holographic::HolographicFrame
public sealed class HolographicFrame
Public NotInheritable Class HolographicFrame
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows Holographic Extension SDK Preview (introduced v10.0.10240.0) Windows 10 (introduced v10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Preview.Holographic.HolographicContract (introduced v1) Windows.Foundation.UniversalApiContract (introduced v2)

Remarks

Each HolographicFrame tracks end-to-end latency from the CreateNextFrame call until the frame is presented. This determines the number of frames the system will look forward for the next frame's prediction.

Version history

Windows version SDK version Value added
1709 16299 GetQuadLayerUpdateParameters

Properties

AddedCameras AddedCameras AddedCameras AddedCameras AddedCameras

Gets the list of HolographicCamera objects that were added since last frame.

CurrentPrediction CurrentPrediction CurrentPrediction CurrentPrediction CurrentPrediction

Gets the most recent camera location prediction for the current HolographicFrame.

Duration Duration Duration Duration Duration

Gets the duration of time that the frame will be on the screen.

RemovedCameras RemovedCameras RemovedCameras RemovedCameras RemovedCameras

Gets the list of HolographicCamera objects that were removed since last frame.

Methods

GetQuadLayerUpdateParameters(HolographicQuadLayer) GetQuadLayerUpdateParameters(HolographicQuadLayer) GetQuadLayerUpdateParameters(HolographicQuadLayer) GetQuadLayerUpdateParameters(HolographicQuadLayer) GetQuadLayerUpdateParameters(HolographicQuadLayer)

Gets an update payload that lets an application configure a specific quad layer's parameters from this frame forward.

GetRenderingParameters(HolographicCameraPose) GetRenderingParameters(HolographicCameraPose) GetRenderingParameters(HolographicCameraPose) GetRenderingParameters(HolographicCameraPose) GetRenderingParameters(HolographicCameraPose)

Gets the parameters needed to render the current frame with the specified camera pose.

PresentUsingCurrentPrediction() PresentUsingCurrentPrediction() PresentUsingCurrentPrediction() PresentUsingCurrentPrediction() PresentUsingCurrentPrediction()

Present the current frame for all cameras and then wait until the next frame.

PresentUsingCurrentPrediction(HolographicFramePresentWaitBehavior) PresentUsingCurrentPrediction(HolographicFramePresentWaitBehavior) PresentUsingCurrentPrediction(HolographicFramePresentWaitBehavior) PresentUsingCurrentPrediction(HolographicFramePresentWaitBehavior) PresentUsingCurrentPrediction(HolographicFramePresentWaitBehavior)

Presents the current frame for all cameras with the specified waiting behavior.

UpdateCurrentPrediction() UpdateCurrentPrediction() UpdateCurrentPrediction() UpdateCurrentPrediction() UpdateCurrentPrediction()

Computes an updated prediction for the CurrentPrediction property.

WaitForFrameToFinish() WaitForFrameToFinish() WaitForFrameToFinish() WaitForFrameToFinish() WaitForFrameToFinish()

Blocks the current thread until this frame has finished and is showing on the displays.