Returns 4x4 transform matrix
<node3d>.getMatrix( | |
mode = viz.ABS_PARENT | |
node = '' | |
) |
Transform modes | |
viz.ABS_PARENT | Return the matrix in the parents coordinate system. If a sub-node name is specified, it will return the accumulated matrix from the sub-node up to the parents coordinate system. |
viz.ABS_GLOBAL | Return the matrix in global coordinates. If a sub-node name is specified, it will return the accumulated matrix from the sub-node up to the global coordinate system. |
viz.ABS_LOCAL | This mode is only usefull when specifying a sub-node name as well. If the specified sub-node is an OSG transform node, it will return its matrix. |