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

Can not remove background of scene #4676

Closed
NVFedorov opened this issue Sep 7, 2020 · 2 comments
Closed

Can not remove background of scene #4676

NVFedorov opened this issue Sep 7, 2020 · 2 comments

Comments

@NVFedorov
Copy link

Description:
I'm trying to remove scene background the following way: scene.removeAttribute('background');. The attribute gets removed, but nothing changes in the scene.

@dmarcos
Copy link
Member

dmarcos commented Sep 8, 2020

What are you expecting to happen? There's always going to be a background color (default is white). Notice you can always set it to default sceneEl.setAttribute('background', 'color', 'white')

@NVFedorov
Copy link
Author

I thought there should be some default color or transparent color after this attribute is removed

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

No branches or pull requests

2 participants