Hello everyone,
I've been trying to find a way to get the viewports sizes already for a while (width/height) and no luck so far.
I've tried getRegionRect but that one doesn't change when i resize the viewport. Also, in this link https://knowledge.autodesk.com/search-result/caas/CloudHelp/cloudhelp/20… is suggested to use renderWidth & renderHeight as a way to calculate the camera's aspect ratio...
Anyway, how could i get a viewport size?
Thanks in advance.
miauu · 2017-05-17