pyvista.Transform.pre_multiply

pyvista.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(),:meth:concatenate, etc.) will occur before any transformations represented by the current matrix.

Examples

>>> import pyvista as pv
>>> transform = pv.Transform().pre_multiply()
>>> transform.multiply_mode
'pre'