Houdini 22.0 hapi

hapi.getCameraInfo function

Retrieves the camera parms for a SOP camera primitive

Usage

getCameraInfo(session: hapi.Session, node_id: int, part_id: int) → hapi.CameraInfo

Retrieves the camera parms for a SOP camera primitive

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.

node_id

The node id.

part_id

The part id. The hapi.PartInfo.type must be hapi.partType.Camera.

Returns camera_info as a hapi.CameraInfo.

hapi