Documentation

Unity Engine

Unity Engine

displayOpaque

Determines if the current attached device has an opaque display. Most VR devices are opaque in order to increase the immersive experience, AR devices are transparent to allow for interaction with an augmentation of the current environment.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Property
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
public bool displayOpaque { get; }