Share via


HolographicCameraPose.TryGetVisibleFrustum(SpatialCoordinateSystem) Method

Definition

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

public:
 virtual IReference<SpatialBoundingFrustum> ^ TryGetVisibleFrustum(SpatialCoordinateSystem ^ coordinateSystem) = TryGetVisibleFrustum;
IReference<SpatialBoundingFrustum> TryGetVisibleFrustum(SpatialCoordinateSystem const& coordinateSystem);
public System.Nullable<SpatialBoundingFrustum> TryGetVisibleFrustum(SpatialCoordinateSystem coordinateSystem);
function tryGetVisibleFrustum(coordinateSystem)
Public Function TryGetVisibleFrustum (coordinateSystem As SpatialCoordinateSystem) As Nullable(Of SpatialBoundingFrustum)

Parameters

coordinateSystem
SpatialCoordinateSystem

The coordinate system in which to express the visible frustum.

Returns

The visible frustum.

Remarks

If this is a stereo display, this is the combined frustum of both stereo views, including the left and right view and projection matrices.

This frustum shares the same dimensions as the true view frustum at the time of rendering, although it may be off by some amount due to prediction error. Call TryGetCullingFrustum to get a conservative frustum that takes this uncertainty into account.

This method will return null if the specified coordinate system cannot be located at the moment.

Applies to