An event that is raised when ownership of the view has been acquired by this application
A promise which resolves to the containing HTMLElement for this view. This value is undefined in non-DOM environments.
Manager-only. A map of sessions to their desired viewports.
An HTMLDivElement which matches the root viewport. This is provide for convenience to attach other elements to (such as a webGL canvas element). Attached elements will automatically inherit the same size and position as this element (via CSS). This value is undefined in non-DOM environments.
An event that is raised when ownership of the view has been released from this application
An event that is raised when the root viewport has changed
Returns true if this application has control over the view.
Release control over the view.
Request control over the view. The manager is likely to reject this request if this application is not in focus. When running on an HMD, this request will always fail. If the current reality view does not support custom views, this request will fail. The manager may revoke ownership at any time (even without this application calling releaseOwnership)
Set the desired root viewport
Generated using TypeDoc
Manages the view state