nukescripts.geosnap3d.get_node_transform_matrix

nukescripts.geosnap3d.get_node_transform_matrix(node_to_snap, current_frame)[source]

Generates the transformation matrix for a given node based on its knob values.

Parameters

node_to_snap (nuke.Node) – Node from which the data will be extracted to generate its transformation matrix.

Return type

Matrix4

Returns

The matrix containg all node transformations.