We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

    Show / Hide Table of Contents

    Windows Mixed Reality camera settings provider

    The Windows Mixed Reality camera settings provider determines the type of device, upon which the application is running and applies the appropriate configuration settings based on the display (transparent or opaque).

    Enabling the Windows Mixed Reality camera settings provider

    The following steps presume use of the MixedRealityToolkit object. Steps required for other service registrars may be different.

    1. Select the MixedRealityToolkit object in the scene hierarchy.

      MRTK Configured Scene Hierarchy

    2. Navigate the Inspector panel to the camera system section and expand the Camera Settings Providers section.

      Expand settings providers

    3. Click Add Camera Settings Provider and expand the newly added New camera settings entry.

      Expand new settings provider

    4. Select the Windows Mixed Reality Camera Settings provider

      Select Windows Mixed Reality settings provider

    Note

    When using the Microsoft Mixed Reality Toolkit default profiles, the Windows Mixed Reality camera settings provider will already be enabled and configured.

    Configuring the Windows Mixed Reality camera settings provider

    The Windows Mixed Reality Camera Settings also supports a profile. This profile provides the following options:

    Windows Mixed Reality camera settings configuration

    Render mixed reality capture from the photo/video camera

    With this setting on HoloLens 2, you can enable hologram alignment in your mixed reality captures. If enabled, the platform will provide an additional HolographicCamera to the app when a mixed reality capture photo or video is taken. This HolographicCamera provides view matrices corresponding to the photo/video camera location, and it provides projection matrices using the photo/video camera field of view. This will ensure that holograms, such as hand meshes, remain visibly aligned in the video output.

    See also

    • Camera System Overview
    • Creating a Camera Settings Provider
    • Rendering Mixed Reality Capture from the PV camera
    • Improve this Doc
    Back to top Generated by DocFX