Houdini 20.5 hapi

hapi.setViewport function

Set the hapi.Viewport info for synchronizing viewport in

Usage

setViewport(session: hapi.Session, viewport: hapi.Viewport) → bool

Set the hapi.Viewport info for synchronizing viewport in SessionSync. When SessionSync is running, this can be used to set the viewport information which Houdini will then synchronizse with for its viewport.

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.

viewport

A hapi.Viewport that stores the viewport.

hapi