HolographicCameraPose HolographicCameraPose HolographicCameraPose HolographicCameraPose HolographicCameraPose Class

Definition

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

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

Windows 10 requirements

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

Remarks

Version history

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

Properties

FarPlaneDistance FarPlaneDistance FarPlaneDistance FarPlaneDistance FarPlaneDistance

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

HolographicCamera HolographicCamera HolographicCamera HolographicCamera HolographicCamera

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

NearPlaneDistance NearPlaneDistance NearPlaneDistance NearPlaneDistance NearPlaneDistance

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

ProjectionTransform ProjectionTransform ProjectionTransform ProjectionTransform ProjectionTransform

Gets the stereo projection transform for this camera pose.

Viewport Viewport Viewport Viewport Viewport

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

Methods

OverrideProjectionTransform(HolographicStereoTransform) OverrideProjectionTransform(HolographicStereoTransform) OverrideProjectionTransform(HolographicStereoTransform) OverrideProjectionTransform(HolographicStereoTransform) OverrideProjectionTransform(HolographicStereoTransform)

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

OverrideViewport(Rect, Rect) OverrideViewport(Rect, Rect) OverrideViewport(Rect, Rect) OverrideViewport(Rect, Rect) OverrideViewport(Rect, Rect)

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

OverrideViewTransform(SpatialCoordinateSystem, HolographicStereoTransform) OverrideViewTransform(SpatialCoordinateSystem, HolographicStereoTransform) OverrideViewTransform(SpatialCoordinateSystem, HolographicStereoTransform) OverrideViewTransform(SpatialCoordinateSystem, HolographicStereoTransform) OverrideViewTransform(SpatialCoordinateSystem, HolographicStereoTransform)

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

TryGetCullingFrustum(SpatialCoordinateSystem) TryGetCullingFrustum(SpatialCoordinateSystem) TryGetCullingFrustum(SpatialCoordinateSystem) TryGetCullingFrustum(SpatialCoordinateSystem) TryGetCullingFrustum(SpatialCoordinateSystem)

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

TryGetViewTransform(SpatialCoordinateSystem) TryGetViewTransform(SpatialCoordinateSystem) TryGetViewTransform(SpatialCoordinateSystem) TryGetViewTransform(SpatialCoordinateSystem) 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) TryGetVisibleFrustum(SpatialCoordinateSystem) TryGetVisibleFrustum(SpatialCoordinateSystem) TryGetVisibleFrustum(SpatialCoordinateSystem) TryGetVisibleFrustum(SpatialCoordinateSystem)

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