Back to Content

XRPose: linearVelocity property

files/en-us/web/api/xrpose/linearvelocity/index.md

latest656 B
Original Source

{{APIRef("WebXR Device API")}}{{SecureContext_Header}}

The linearVelocity read-only property of the {{DOMxRef("XRPose")}} interface is a {{DOMxRef("DOMPointReadOnly")}} describing the linear velocity in meters per second relative to the base {{DOMxRef("XRSpace")}}.

Value

A {{DOMxRef("DOMPointReadOnly")}} describing the linear velocity in meters per second relative to the base {{DOMxRef("XRSpace")}}. Returns null if the user agent can't populate this value.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • {{domxref("XRPose.angularVelocity")}}