Replies: 1 comment 3 replies
-
Right, you can call Keep in mind that currently the only 3D renderer offered by Processing is the P3D one but in the future there may be other 3D renderers. If you want the name of the actual renderer, there's also another internal function you can access with |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There was this old discussion that pointed to the
g
methodsg.is2D()
andg.is3D()
.This would be useful for me because my naive Slider code needs to call
camera()
to properly reset the view when P3D is in use (it tries to emulate some kind of HUD), but not otherwise, as it shows a warning if you are not using P3D...Well maybe I can just use
get_graphics()._instance.is3D()
...Beta Was this translation helpful? Give feedback.
All reactions