Class WindowsMixedRealityCameraSettingsProfile
Configuration profile for the Windows Mixed Reality camera settings provider.
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 |
---|---|
Holographic |
Remarks
AutoPlanar requires the DotNetWinRT adapter. DepthReprojection is the default if the adapter isn't present.