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

feat: Render Example code improvements #166

Merged
merged 5 commits into from
Oct 6, 2024
Merged

Conversation

VaclavElias
Copy link
Collaborator

This pull request introduces a custom scene renderer and a startup script for rendering 2D text in a 3D scene using the Stride engine. It also includes some refactoring and cleanup of existing code. The most important changes include the creation of MyCustomSceneRenderer, the addition of SpriteBatchRendererScript, and refactoring in the GameExtensions class.

New Features:

Refactoring:

Code Cleanup:

Simplified the initialization of `_camera` and `_scene` by using the
null-coalescing assignment operator (`??=`). Removed explicit null
checks and assignments, as well as commented-out code.
@VaclavElias VaclavElias added the example Improvements or additions to examples label Oct 6, 2024
@VaclavElias VaclavElias merged commit 9709236 into stride3d:main Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
example Improvements or additions to examples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant