Transform.pre_multiply#
- Transform.pre_multiply() Transform[source]#
Set the multiplication mode to pre-multiply.
In pre-multiply mode, any additional transformations (e.g. using
translate(),compose(), etc.) will occur before any transformations represented by the currentmatrix.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> transform = pv.Transform().pre_multiply()
>>> transform.multiply_mode
'pre'