Editar

Compartilhar via


BaseWindowsMixedRealityCameraSettings Class

Definition

Camera settings provider for use with Windows Mixed Reality.

public ref class BaseWindowsMixedRealityCameraSettings abstract : Microsoft::MixedReality::Toolkit::CameraSystem::BaseCameraSettingsProvider
public ref class BaseWindowsMixedRealityCameraSettings abstract : Microsoft::MixedReality::Toolkit::CameraSystem::BaseCameraSettingsProvider, IDisposable, Microsoft::MixedReality::Toolkit::CameraSystem::IMixedRealityCameraProjectionOverrideProvider
[Microsoft.MixedReality.Toolkit.MixedRealityDataProvider(typeof(Microsoft.MixedReality.Toolkit.CameraSystem.IMixedRealityCameraSystem), Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms.WindowsUniversal, "Windows Mixed Reality Camera Settings", "WindowsMixedReality/Shared/Profiles/DefaultWindowsMixedRealityCameraSettingsProfile.asset", "MixedRealityToolkit.Providers", false)]
public abstract class BaseWindowsMixedRealityCameraSettings : Microsoft.MixedReality.Toolkit.CameraSystem.BaseCameraSettingsProvider
[Microsoft.MixedReality.Toolkit.MixedRealityDataProvider(typeof(Microsoft.MixedReality.Toolkit.CameraSystem.IMixedRealityCameraSystem), Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms.WindowsUniversal, "Windows Mixed Reality Camera Settings", "WindowsMixedReality/Shared/Profiles/DefaultWindowsMixedRealityCameraSettingsProfile.asset", "MixedRealityToolkit.Providers", false)]
public abstract class BaseWindowsMixedRealityCameraSettings : Microsoft.MixedReality.Toolkit.CameraSystem.BaseCameraSettingsProvider, IDisposable, Microsoft.MixedReality.Toolkit.CameraSystem.IMixedRealityCameraProjectionOverrideProvider
public abstract class BaseWindowsMixedRealityCameraSettings : Microsoft.MixedReality.Toolkit.CameraSystem.BaseCameraSettingsProvider, IDisposable, Microsoft.MixedReality.Toolkit.CameraSystem.IMixedRealityCameraProjectionOverrideProvider
[<Microsoft.MixedReality.Toolkit.MixedRealityDataProvider(typeof(Microsoft.MixedReality.Toolkit.CameraSystem.IMixedRealityCameraSystem), Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms.WindowsUniversal, "Windows Mixed Reality Camera Settings", "WindowsMixedReality/Shared/Profiles/DefaultWindowsMixedRealityCameraSettingsProfile.asset", "MixedRealityToolkit.Providers", false)>]
type BaseWindowsMixedRealityCameraSettings = class
    inherit BaseCameraSettingsProvider
[<Microsoft.MixedReality.Toolkit.MixedRealityDataProvider(typeof(Microsoft.MixedReality.Toolkit.CameraSystem.IMixedRealityCameraSystem), Microsoft.MixedReality.Toolkit.Utilities.SupportedPlatforms.WindowsUniversal, "Windows Mixed Reality Camera Settings", "WindowsMixedReality/Shared/Profiles/DefaultWindowsMixedRealityCameraSettingsProfile.asset", "MixedRealityToolkit.Providers", false)>]
type BaseWindowsMixedRealityCameraSettings = class
    inherit BaseCameraSettingsProvider
    interface IMixedRealityCameraProjectionOverrideProvider
    interface IMixedRealityCameraSettingsProvider
    interface IMixedRealityDataProvider
    interface IMixedRealityService
    interface IDisposable
type BaseWindowsMixedRealityCameraSettings = class
    inherit BaseCameraSettingsProvider
    interface IMixedRealityCameraProjectionOverrideProvider
    interface IMixedRealityCameraSettingsProvider
    interface IMixedRealityDataProvider
    interface IMixedRealityService
    interface IDisposable
Public MustInherit Class BaseWindowsMixedRealityCameraSettings
Inherits BaseCameraSettingsProvider
Public MustInherit Class BaseWindowsMixedRealityCameraSettings
Inherits BaseCameraSettingsProvider
Implements IDisposable, IMixedRealityCameraProjectionOverrideProvider
Inheritance
Derived
Attributes
Implements

Constructors

BaseWindowsMixedRealityCameraSettings(IMixedRealityCameraSystem, String, UInt32, BaseCameraSettingsProfile)

Constructor.

Fields

DefaultPriority (Inherited from BaseService)
disposed

Value indicating if the object has completed disposal.

(Inherited from BaseService)

Properties

ConfigurationProfile

The configuration profile for the service.

(Inherited from BaseService)
IsEnabled

Indicates whether or not the service is currently enabled.

(Inherited from BaseService)
IsInitialized

Indicates whether or not the service has been initialized.

(Inherited from BaseService)
IsMarkedDestroyed

Indicates whether or not the Destroy method been called on this service.

(Inherited from BaseService)
IsOpaque

Returns whether or not the current display rendering mode is opaque.

(Inherited from BaseCameraSettingsProvider)
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.

Name

Optional Priority attribute if multiple services of the same type are required, enables targeting a service for action.

(Inherited from BaseService)
Priority

Optional Priority to reorder registered managers based on their respective priority, reduces the risk of race conditions by prioritizing the order in which managers are evaluated.

(Inherited from BaseService)
Registrar
Obsolete.

The service registrar instance that registered this service.

(Inherited from BaseDataProvider<T>)
Service

The service instance to which this provider is providing data.

(Inherited from BaseDataProvider<T>)

Methods

ApplyConfiguration()

Applies provider specific configuration settings.

Destroy()

Optional Destroy function to perform cleanup of the service before the Mixed Reality Toolkit is destroyed.

(Inherited from BaseService)
Disable()

Optional Disable function to pause the service.

Dispose()

Cleanup resources used by this object.

(Inherited from BaseService)
Dispose(Boolean)

Cleanup resources used by the object

(Inherited from BaseService)
Enable()

Optional Enable function to enable / re-enable the service.

Initialize()

The initialize function is used to setup the service once created. This method is called once all services have been registered in the Mixed Reality Toolkit.

(Inherited from BaseService)
LateUpdate()

Optional LateUpdate function to that is called after Update has been called on all services.

(Inherited from BaseService)
Reset()

Optional Reset function to perform that will Reset the service, for example, whenever there is a profile change.

(Inherited from BaseService)
Update()

Optional Update function to perform per-frame updates of the service.

(Inherited from BaseService)

Applies to