Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.42 KB

File metadata and controls

29 lines (19 loc) · 1.42 KB

MRTK will handle specific camera settings automatically, based on the configuration in the camera system profile.

Namespace: Microsoft.MixedReality.Toolkit.CameraSystem
Type: MixedRealityCameraSystem

To check the camera's opaqueness, the MixedRealityCamera system has an IsOpaque property.

CoreServices.CameraSystem.IsOpaque;

Namespace: UnityEngine.XR
Type: XRDisplaySubsystem

You can use script code to determine at runtime whether the headset is immersive or holographic by checking displayOpaque on the actively running XRDisplaySubsystem.

Namespace: UnityEngine.XR.WSA
Type: HolographicSettings

You can use script code to determine at runtime whether the headset is immersive or holographic by checking HolographicSettings.IsDisplayOpaque.