Delen via


HolographicCamera.RenderTargetSize Property

Definition

Gets the dimensions in pixels of the back buffers allocated for this camera.

public:
 property Size RenderTargetSize { Size get(); };
Size RenderTargetSize();
public Size RenderTargetSize { get; }
var size = holographicCamera.renderTargetSize;
Public ReadOnly Property RenderTargetSize As Size

Property Value

The width and height of the HolographicCamera render target.

Remarks

Each frame, your application may set ViewportScaleFactor to decide how much of the back buffer to use for rendering. The system will scale the rendered image to fill the display.

To change the render target size for a HolographicCamera, retrieve its ViewConfiguration property and use it to call RequestRenderTargetSize.

Applies to

See also