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 BaseWindowsMixedRealityCameraSettings

    Camera settings provider for use with Windows Mixed Reality.

    Inheritance
    Object
    BaseWindowsMixedRealityCameraSettings
    WindowsMixedRealityCameraSettings
    Implements
    IMixedRealityCameraProjectionOverrideProvider
    Namespace: Microsoft.MixedReality.Toolkit.WindowsMixedReality
    Assembly: cs.temp.dll.dll
    Syntax
    public abstract class BaseWindowsMixedRealityCameraSettings : BaseCameraSettingsProvider, IMixedRealityCameraProjectionOverrideProvider

    Constructors

    BaseWindowsMixedRealityCameraSettings(IMixedRealityCameraSystem, String, UInt32, BaseCameraSettingsProfile)

    Constructor.

    Declaration
    protected BaseWindowsMixedRealityCameraSettings(IMixedRealityCameraSystem cameraSystem, string name = null, uint priority = default(uint), BaseCameraSettingsProfile profile = null)
    Parameters
    Type Name Description
    IMixedRealityCameraSystem cameraSystem

    The instance of the camera system which is managing this provider.

    String name

    Friendly name of the provider.

    UInt32 priority

    Provider priority. Used to determine order of instantiation.

    BaseCameraSettingsProfile profile

    The provider's configuration profile.

    Properties

    IsProjectionOverrideEnabled

    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 IsProjectionOverrideEnabled { get; set; }
    Property Value
    Type Description
    Boolean

    Methods

    ApplyConfiguration()

    Declaration
    public override void ApplyConfiguration()

    Disable()

    Declaration
    public override void Disable()

    Enable()

    Declaration
    public override void Enable()

    Implements

    IMixedRealityCameraProjectionOverrideProvider
    In This Article
    Back to top Generated by DocFX