HolographicCamera.RenderTargetSize Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.