Share via


HolographicCameraPose Class

Definition

Represents the predicted location of a holographic camera for a particular frame.

public ref class HolographicCameraPose 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 HolographicCameraPose 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 HolographicCameraPose
Public NotInheritable Class HolographicCameraPose
Inheritance
Object Platform::Object IInspectable HolographicCameraPose
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Remarks

Version history

Windows version SDK version Value added
1803 17134 OverrideProjectionTransform
1803 17134 OverrideViewport
1803 17134 OverrideViewTransform

Properties

FarPlaneDistance

Gets the far plane distance for this frame, which is set by calling the HolographicCamera.SetFarPlaneDistance method.

HolographicCamera

Gets the HolographicCamera that's described by this camera pose.

NearPlaneDistance

Gets the near plane distance for this frame, which you set by calling the HolographicCamera.SetNearPlaneDistance method.

ProjectionTransform

Gets the stereo projection transform for this camera pose.

Viewport

Gets the viewport rectangle that the app must render to for this camera in this frame.

Methods

OverrideProjectionTransform(HolographicStereoTransform)

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

OverrideViewport(Rect, Rect)

Specifies an alternate viewport rectangle within the frame buffer that the app is rendering into this frame.

OverrideViewTransform(SpatialCoordinateSystem, HolographicStereoTransform)

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

TryGetCullingFrustum(SpatialCoordinateSystem)

Gets the predicted conservative culling frustum for this camera pose, expressed in the specified coordinate system.

TryGetViewTransform(SpatialCoordinateSystem)

Gets the stereo view transform for this camera pose, expressed as a transform from the specified coordinate system. This method will return null if the specified coordinate system cannot be located at the moment.

TryGetVisibleFrustum(SpatialCoordinateSystem)

Gets the predicted view frustum for the current pose, expressed in the specified coordinate system.

Applies to