Houdini 20.0 hapi

hapi.getImageInfo function

Get information about the image that was just rendered, like

Note that you must call hapi.renderTextureToImage first for this method call to make sense.

Usage

getImageInfo(session: hapi.Session, material_node_id: int) → hapi.ImageInfo

Get information about the image that was just rendered, like resolution and default file format. This information will be used when extracting planes to an image.

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.

material_node_id

The material node id.

Returns image_info as a hapi.ImageInfo.

hapi