Page 1 of 1

I am using urn language bindings and i can not find setViewport and set-viewport in it.

Posted: Wed Jul 26, 2023 9:35 am
by olegharput
Where is setViewport (set-viewport) in these bindings, I can not find it.

Re: I am using urn language bindings and i can not find setViewport and set-viewport in it.

Posted: Wed Jul 26, 2023 2:15 pm
by zorg
I'm assuming you found this: https://gitlab.com/Lignum/urn-love2d-bindings from potentially here: viewtopic.php?t=84811

It's not really something that's official or anything, although the commit dates do imply it should support at least version 11.0

Anyway, considering there's only two methods with viewport in them (Quad:setviewport and Quad:getViewport), idk if they need to be defined in the bindings or not, considering they are part of Quad objects, and from what i've seen, no specific object-type bindings exist in that library, only for the "global" methods in the love module tables.