Edytuj

Udostępnij za pośrednictwem


MixedRealityCameraProfile Class

Definition

This Scriptable Object tells you if your head mounted display (HMD) is a transparent device or an occluded device. Based on those values, you can customize your camera and quality settings.

public ref class MixedRealityCameraProfile : Microsoft::MixedReality::Toolkit::BaseMixedRealityProfile
[Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.CameraSystem.IMixedRealityCameraSystem), null)]
[UnityEngine.CreateAssetMenu(fileName="MixedRealityCameraProfile", menuName="Mixed Reality Toolkit/Profiles/Mixed Reality Camera Profile", order=1)]
[UnityEngine.HelpURL("https://docs.microsoft.com/windows/mixed-reality/mrtk-unity/configuration/mixed-reality-configuration-guide#camera")]
public class MixedRealityCameraProfile : Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile
[Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.CameraSystem.IMixedRealityCameraSystem), null)]
[UnityEngine.HelpURL("https://docs.microsoft.com/windows/mixed-reality/mrtk-unity/configuration/mixed-reality-configuration-guide#camera")]
[UnityEngine.CreateAssetMenu(fileName="MixedRealityCameraProfile", menuName="Mixed Reality/Toolkit/Profiles/Mixed Reality Camera Profile", order=1)]
public class MixedRealityCameraProfile : Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile
[<Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.CameraSystem.IMixedRealityCameraSystem), null)>]
[<UnityEngine.CreateAssetMenu(fileName="MixedRealityCameraProfile", menuName="Mixed Reality Toolkit/Profiles/Mixed Reality Camera Profile", order=1)>]
[<UnityEngine.HelpURL("https://docs.microsoft.com/windows/mixed-reality/mrtk-unity/configuration/mixed-reality-configuration-guide#camera")>]
type MixedRealityCameraProfile = class
    inherit BaseMixedRealityProfile
[<Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.CameraSystem.IMixedRealityCameraSystem), null)>]
[<UnityEngine.HelpURL("https://docs.microsoft.com/windows/mixed-reality/mrtk-unity/configuration/mixed-reality-configuration-guide#camera")>]
[<UnityEngine.CreateAssetMenu(fileName="MixedRealityCameraProfile", menuName="Mixed Reality/Toolkit/Profiles/Mixed Reality Camera Profile", order=1)>]
type MixedRealityCameraProfile = class
    inherit BaseMixedRealityProfile
Public Class MixedRealityCameraProfile
Inherits BaseMixedRealityProfile
Inheritance
UnityEngine.ScriptableObject
MixedRealityCameraProfile
Attributes
MixedRealityServiceProfileAttribute UnityEngine.CreateAssetMenuAttribute UnityEngine.HelpURLAttribute

Constructors

MixedRealityCameraProfile()

Properties

BackgroundColorOpaqueDisplay

Background color for an opaque display.

BackgroundColorTransparentDisplay

Background color for a transparent display.

CameraClearFlagsOpaqueDisplay

Flags describing how to clear the camera for an opaque display.

CameraClearFlagsTransparentDisplay

Flags describing how to clear the camera for a transparent display.

FarClipPlaneOpaqueDisplay

Far clipping plane distance for an opaque display.

FarClipPlaneTransparentDisplay

Far clipping plane distance for a transparent display.

HoloLensQualityLevel
Obsolete.

Quality level for a HoloLens device.

NearClipPlaneOpaqueDisplay

Near clipping plane distance for an opaque display.

NearClipPlaneTransparentDisplay

Near clipping plane distance for a transparent display.

OpaqueQualityLevel

Quality level for an opaque display.

SettingsConfigurations

Configuration objects describing the registered settings providers.

TransparentQualityLevel

Quality level for a transparent display.

Applies to