Houdini 20.5 hapi

hapi.setVolumeTileFloatData function

Set the values of a float tile: this is an 8×8×8 subsection of

Usage

setVolumeTileFloatData(session: hapi.Session, node_id: int, part_id: int, tile: hapi.VolumeTileInfo, values_array: list of float, length: int) → bool

Set the values of a float tile: this is an 8×8×8 subsection of the volume.

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.

tile

The tile that the volume will be input into.

values_array

The values of the individual voxel tiles in the volume. The length of this array should be ( 8 ^ 3 ) * tupleSize.

length

The length should be ( 8 ^ 3 ) * tupleSize.

hapi