Share via


HolographicCameraPose.OverrideProjectionTransform Method

Definition

Notifies the compositor that the app is rendering with an alternate suboptimal projection transform this frame.

void OverrideProjectionTransform(HolographicStereoTransform const& projectionTransform);
public void OverrideProjectionTransform(HolographicStereoTransform projectionTransform);
function overrideProjectionTransform(projectionTransform)
Public Sub OverrideProjectionTransform (projectionTransform As HolographicStereoTransform)

Parameters

projectionTransform
HolographicStereoTransform

The alternate suboptimal projection transform.

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Remarks

Warning: Rendering a frame with any projection transform other than that frame's ProjectionTransform value will result in reduced visual quality.

However, if you must render a frame with an alternate projection transform, be sure to call this method and provide that transform. Visual quality will be even worse if the compositor does not know the actual transforms used for rendering.

Applies to