Class BaseWindowsMixedRealityCameraSettings
Camera settings provider for use with Windows Mixed Reality.
Implements
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 |
---|---|---|
IMixed |
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. |
Base |
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()