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

Examples: Rename GroundProjectedEnv to GroundProjectedSkybox. #25645

Merged
merged 1 commit into from
Mar 11, 2023

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Mar 10, 2023

Fixed #25287.

Description

This PR renames GroundProjectedEnv to GroundProjectedSkybox.

As #25287 pointed out, GroundProjectedEnv is a confusing name for the respective class since it's a 3D object derived from Mesh. You don't assign it to Scene.environment nor to an environmentMap material property.

A skybox instead is something that is usually added to a scene graph so it sounds more appropriate to use this term.

GroundProjectedBackground was also suggested but I find it confusing as well since you don't assign an instance of the class to Scene.background.

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.

GroundProjectedEnv naming is confusing as it's a background, not an environment
1 participant