Gets the clear color buffer of the camera.
The clear color buffer.
Sets the clear color buffer of the camera.
The clear color buffer.
Gets the clear depth buffer of the camera.
The clear depth buffer.
Sets the clear depth buffer of the camera.
The clear depth buffer.
Gets the clear stencil buffer of the camera.
The clear stencil buffer.
Sets the clear stencil buffer of the camera.
The clear stencil buffer.
The nearest ancestor <pc-app> element, or null if this element has no <pc-app>
ancestor. The search starts at the parent, so an element never resolves to itself.
The closest app element, or null.
The nearest ancestor <pc-entity> element, or null if this element has no <pc-entity>
ancestor. The search starts at the parent, so an element never resolves to itself.
The closest entity element, or null.
Gets the cull faces of the camera.
The cull faces.
Sets the cull faces of the camera.
The cull faces.
Gets the enabled state of the component.
The enabled state of the component.
Sets the enabled state of the component.
The enabled state of the component.
Gets the far clip distance of the camera.
The far clip distance.
Sets the far clip distance of the camera.
The far clip distance.
Gets the flip faces of the camera.
The flip faces.
Sets the flip faces of the camera.
The flip faces.
Gets the field of view of the camera.
The field of view.
Sets the field of view of the camera.
The field of view.
Gets the frustum culling of the camera.
The frustum culling.
Sets the frustum culling of the camera.
The frustum culling.
Gets the gamma correction of the camera.
The gamma correction.
Sets the gamma correction of the camera.
The gamma correction.
Gets whether the camera's field of view (fov) is horizontal or vertical.
Whether the camera's field of view is horizontal.
Sets whether the camera's field of view (fov) is horizontal or vertical. Defaults to false (meaning it is vertical be default).
Whether the camera's field of view is horizontal.
Gets the near clip distance of the camera.
The near clip distance.
Sets the near clip distance of the camera.
The near clip distance.
Gets the orthographic projection of the camera.
The orthographic projection.
Sets the orthographic projection of the camera.
The orthographic projection.
Gets the orthographic height of the camera.
The orthographic height.
Sets the orthographic height of the camera.
The orthographic height.
Gets the priority of the camera.
The priority.
Sets the priority of the camera.
The priority.
Gets the tone mapping of the camera.
The tone mapping.
Sets the tone mapping of the camera.
The tone mapping.
Protected_Called when the element is fully initialized and ready. Subclasses should call this when
they're ready. Resolves the ready promise and dispatches a bubbling, composed ready
event.
Ends the camera's XR mode.
Returns a promise that resolves with this element when it's ready. This is the low-level primitive underlying whenReady, which is the recommended way to wait for elements.
A promise that resolves with this element when it's ready.
Starts the camera in XR mode.
The type of XR mode to start.
The space to start the camera in.
The CameraComponentElement interface provides properties and methods for manipulating
<pc-camera>elements. The CameraComponentElement interface also inherits the properties and methods of the HTMLElement interface.