Houdini 22.0 hapi

hapi.setInputCameraTransform function

Configures the SOP Camera node’s transform parameters.

Usage

setInputCameraTransform(session: hapi.Session, node_id: int, rst_order: hapi.rstOrder, rot_order: hapi.xyzOrder, transform: hapi.Transform) → bool

Configures the SOP Camera node’s transform parameters.

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 of a node created with hapi.createInputCameraNode.

rst_order

The order in which the camera’s transformations occur.

rot_order

The order in which the camera’s rotations occur.

transform

A hapi.Transform struct that will be used to set the transform related parameters on the camera node. Only the position and rotation quaternion will be used. Other fields will be ignored.

hapi