Udostępnij za pośrednictwem


HolographicQuadLayerUpdateParameters Class

Definition

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

public ref class HolographicQuadLayerUpdateParameters sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class HolographicQuadLayerUpdateParameters final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class HolographicQuadLayerUpdateParameters
Public NotInheritable Class HolographicQuadLayerUpdateParameters
Inheritance
Object Platform::Object IInspectable HolographicQuadLayerUpdateParameters
Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Remarks

To display quad layers, an application creates the necessary HolographicQuadLayer instances and adds them to a HolographicCamera's mutable QuadLayers list. To synchronize a retained quad layer update with a given immediate-mode holographic frame, an application requests a HolographicQuadLayerUpdateParameters instance from that frame by calling HolographicFrame.GetQuadLayerUpdateParameters. Any updates requested on that HolographicQuadLayerUpdateParameters instance will apply starting in that frame.

Note

The AcquireBufferToUpdateContent or AcquireBufferToUpdateContentWithHardwareProtection method must be called when updating a HolographicQuadLayer object for the first time.

Version history

Windows version SDK version Value added
1809 17763 AcquireBufferToUpdateContentWithHardwareProtection
1809 17763 CanAcquireWithHardwareProtection

Properties

CanAcquireWithHardwareProtection

Gets whether hardware content protection is supported for this quad layer.

Methods

AcquireBufferToUpdateContent()

Gets a Direct3D 11 back buffer whose contents will be displayed for this quad layer from this frame forward.

AcquireBufferToUpdateContentWithHardwareProtection()

Gets a hardware-protected Direct3D 11 back buffer whose contents will be displayed for this quad layer from this frame forward.

UpdateContentProtectionEnabled(Boolean)

Updates whether this quad layer contains protected content.

UpdateExtents(Vector2)

Updates the extents of this quad layer in world coordinates.

UpdateLocationWithDisplayRelativeMode(Vector3, Quaternion)

Updates the center location of this quad layer relative to the center of the displays, setting it to remain at that display-relative location in future frames.

UpdateLocationWithStationaryMode(SpatialCoordinateSystem, Vector3, Quaternion)

Updates the center location of this quad layer in the world, setting it to remain at that world location in future frames.

UpdateViewport(Rect)

Updates the viewport rectangle within the quad layer's texture that will be displayed to the screen.

Applies to