pyvista.Transform.pre_multiply

pyvista.Transform.pre_multiply#

Transform.pre_multiply() Transform[ソース]#

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 current matrix.

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