Skip to content

Clarify that offset spaces inherit reset events and bounds changes #933

@klausw

Description

@klausw

According to #932, offset spaces should get the same reference space reset events as the underlying space, and changes to boundsGeometry should also be reflected in the offset space's data. I think the spec should make this explicit to avoid inconsistent implementations.

The current getOffsetReferenceSpace algorithm at https://immersive-web.github.io/webxr/#dom-xrreferencespace-getoffsetreferencespace looks like a one-time calculation at the time the offset space was created, and should clarify that this needs to be re-run each time the underlying bounds change.

Also, should the getOffsetReferenceSpace description and/or the XRReferenceSpaceEvent description at https://immersive-web.github.io/webxr/#xrreferencespaceevent-interface explicitly point out that the same events must be sent for any offset space derived from an underlying space?

Metadata

Metadata

Assignees

Labels

help wantedThis is a good issue for anyone to pick up and work on filing a PR for.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions