ViewConfiguration Class
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.
Observe and manage a view configuration of the current XR session.
public class ViewConfiguration
public struct ViewConfiguration
type ViewConfiguration = class
type ViewConfiguration = struct
Public Class ViewConfiguration
Public Structure ViewConfiguration
- Inheritance
-
ViewConfiguration
- Inheritance
-
ViewConfiguration
Properties
EnabledViewConfigurations |
Get all enabled view configurations when the XR session is started. |
IsActive |
Get whether or not this view configuration is active for the current frame. If IsActive is false, the rendering into the view configuration will be ignored and not visible to user. |
Primary |
Get the primary view configuration of the XR session. |
StereoSeparationAdjustment |
Adjustment to stereo separation in meters for primary stereo view configuration. The value will be ignored for mono or secondary view configurations. |
SupportedReprojectionModes |
Get all supported reprojection modes for this view configuration. |
ViewConfigurationType |
Get the view configuration type |
Methods
SetReprojectionSettings(ReprojectionSettings) |
Set the reprojection settings for the view configuration that will be used for the current frame. |