nukescripts.transformMatrix

nukescripts.transformMatrix(nodeToSnap)[source]

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

Parameters:

nodeToSnap (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.