Rick Posted December 9, 2011 Share Posted December 9, 2011 I notice the function SetViewport being used in Josh's Lua GUI. I don't see anything on the wiki on this function. Does this function exist to all supported languages and I assume this will only show the given 2D rectangle on the screen passed in as parameters for anything drawn after? Meaning it clips anything drawn after the command to that area? Any reason there is no doc on this? Quote Link to comment Share on other sites More sharing options...
tjheldna Posted July 3, 2012 Share Posted July 3, 2012 I can't seem to access the SetViewport funciton in C++, is it available? It looks quite useful just looking at the Lua GUI code. Quote Link to comment Share on other sites More sharing options...
Canardia Posted July 3, 2012 Share Posted July 3, 2012 SetViewport is commented out from the DLL, because it didn't work properly, but there is SetCameraClipPlane which does something similar. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
tjheldna Posted July 4, 2012 Share Posted July 4, 2012 Thanks for that. I'll try it out Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.