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

How to set the background color of the scene #67

Open
jamess922 opened this issue Feb 21, 2024 · 2 comments
Open

How to set the background color of the scene #67

jamess922 opened this issue Feb 21, 2024 · 2 comments

Comments

@jamess922
Copy link

Hi:
Want to know how to set the background color of the scene,now it's black

@TravisThomp
Copy link
Contributor

After you create the renderer you set the background color like this

//Setting the background color as an rgba
renderer.backgroundColor = new SPLAT.Color32(64, 64, 64, 255); 

have fun :p

@jamess922
Copy link
Author

Thank your~~

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