Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebXRManager: add layer management API #26109

Closed
wants to merge 0 commits into from
Closed

Conversation

jrjdavidson
Copy link
Contributor

Related issue: #24354

Description

There isn't an easy way to set the Camera layers on the webXR cameras. Given that xr.getCamera() is being deprecated, there will be no way to access the XRcamera in r153. This is an attempt to address this issue.

@github-actions
Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Filesize dev Filesize PR Diff
642.4 kB (159 kB) 642.8 kB (159.1 kB) +379 B

🌳 Bundle size after tree-shaking

Minimal build including a renderer, camera, empty scene, and dependencies.

Filesize dev Filesize PR Diff
432.4 kB (104.8 kB) 432.8 kB (104.9 kB) +379 B

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant