We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As a developer using Tres I would like to have an easy and fast way to add or remove layers to my instances.
My suggestion is something like:
We should accept an array too
And of course other methods like: disable, test (maybe with a console.log), toggle
For more info, check: https://threejs.org/docs/index.html?q=layers#api/en/core/Layers
Any other alternative is considered
As we discuss, you can achieve this by using template ref, but sometimes is just too much code, this Issue will could improve the UX
Following the directives pattern (to make our user easier)
The text was updated successfully, but these errors were encountered:
JaimeTorrealba
No branches or pull requests
Description
As a developer using Tres I would like to have an easy and fast way to add or remove layers to my instances.
Suggested solution
My suggestion is something like:
We should accept an array too
And of course other methods like: disable, test (maybe with a console.log), toggle
For more info, check:
https://threejs.org/docs/index.html?q=layers#api/en/core/Layers
Alternative
Any other alternative is considered
Additional context
As we discuss, you can achieve this by using template ref, but sometimes is just too much code, this Issue will could improve the UX
Following the directives pattern (to make our user easier)
Validations
The text was updated successfully, but these errors were encountered: