The getLayers() method of the VRDisplay interface returns the layers currently being presented by the VRDisplay.