Usage ¶
getViewport(session
: hapi.Session) → hapi.Viewport
Get the hapi.Viewport info for synchronizing viewport in SessionSync. When SessionSync is running this will return Houdini’s current viewport information.
session
The session of Houdini you are interacting with. See hapi.Session for more on sessions. Pass None to just use the default in-process session.
Returns viewport as a hapi.Viewport.