playcanvas / playcanvas/editor
Add editor event(s) that fire when the render style changes
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 215
- Avg merge
- 1d 29m
- Merged PRs (30d)
- 30
Description
Add editor event(s) that fire when the render style changes (for example: toggling wireframe, showing normals, tangents, different lighting modes, enabling/disabling post-processing, etc.).
Details
At the moment there is no single, centralized event emitted when visual modes change (wireframe, normals, UVs, shader debug modes, etc.). This makes it harder for plugins, debugging tools and overlays to stay in sync with the editor's visual state.
Why it's useful
- Allows plugins and tools to respond automatically to render-mode changes (e.g., toggle helper layers).
- Simplifies UI synchronization (icons, buttons) with the current render state.
- Useful for debugging tools to change shaders, clear caches, or toggle stats on mode change.
- Cleaner architecture: explicit events are better than polling or relying on private state hooks.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is identified in the issue. Start by locating the editor's render-style state changes and existing event conventions, then map the visual modes listed in the issue; done means plugins, overlays, and UI can respond through a centralized event when those modes change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100