Houdini 20.5 hapi

hapi.getMaterialInfo function

Get the material info.

Usage

getMaterialInfo(session: hapi.Session, material_node_id: int) → hapi.MaterialInfo

Get the material info.

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 material_info as a hapi.MaterialInfo.

hapi