#include "third_party/blink/renderer/modules/xr/xr_plane.h"
#include "third_party/blink/renderer/bindings/core/v8/frozen_array.h"
#include "third_party/blink/renderer/core/dom/dom_exception.h"
#include "third_party/blink/renderer/modules/xr/vr_service_type_converters.h"
#include "third_party/blink/renderer/modules/xr/xr_object_space.h"
#include "third_party/blink/renderer/modules/xr/xr_reference_space.h"
#include "third_party/blink/renderer/modules/xr/xr_session.h"
namespace blink {
XRPlane::XRPlane(uint64_t id,
XRSession* session,
const device::mojom::blink::XRPlaneData& plane_data,
double timestamp)
: … { … }
XRPlane::XRPlane(uint64_t id,
XRSession* session,
const std::optional<Orientation>& orientation,
HeapVector<Member<DOMPointReadOnly>> polygon,
const std::optional<device::Pose>& mojo_from_plane,
double timestamp)
: … { … }
uint64_t XRPlane::id() const { … }
XRSpace* XRPlane::planeSpace() const { … }
std::optional<gfx::Transform> XRPlane::MojoFromObject() const { … }
device::mojom::blink::XRNativeOriginInformationPtr XRPlane::NativeOrigin()
const { … }
String XRPlane::orientation() const { … }
double XRPlane::lastChangedTime() const { … }
const FrozenArray<DOMPointReadOnly>& XRPlane::polygon() const { … }
void XRPlane::Update(const device::mojom::blink::XRPlaneData& plane_data,
double timestamp) { … }
void XRPlane::Trace(Visitor* visitor) const { … }
}