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.

Search Results for

    Show / Hide Table of Contents

    Class WindowsMixedRealityCameraSettingsProfile

    Configuration profile for the Windows Mixed Reality camera settings provider.

    Inheritance
    Object
    WindowsMixedRealityCameraSettingsProfile
    Namespace: Microsoft.MixedReality.Toolkit.WindowsMixedReality
    Assembly: cs.temp.dll.dll
    Syntax
    [MixedRealityServiceProfile(typeof(BaseWindowsMixedRealityCameraSettings), null)]
    public class WindowsMixedRealityCameraSettingsProfile : BaseCameraSettingsProfile

    Properties

    ReadingModeEnabled

    Override the camera's projection matrices for a smaller field of view, but rendered content will have more detail. See Reading Mode documentation. While this will work on all Windows Mixed Reality platforms, this is primarily useful on HoloLens 2 hardware. If holograms are not stable, change the Stereo Rendering Mode from "Single Pass Instanced" to "Multi Pass" to work around a bug in Unity.

    Declaration
    public bool ReadingModeEnabled { get; }
    Property Value
    Type Description
    Boolean

    RenderFromPVCameraForMixedRealityCapture

    Whether to use photo/video camera rendering for Mixed Reality Capture on Windows.

    Declaration
    public bool RenderFromPVCameraForMixedRealityCapture { get; }
    Property Value
    Type Description
    Boolean
    Remarks

    If true, 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.

    ReprojectionMethod

    Specifies the default reprojection method for HoloLens 2.

    Declaration
    public HolographicDepthReprojectionMethod ReprojectionMethod { get; }
    Property Value
    Type Description
    HolographicDepthReprojectionMethod
    Remarks

    AutoPlanar requires the DotNetWinRT adapter. DepthReprojection is the default if the adapter isn't present.

    In This Article
    Back to top Generated by DocFX