pyvista.Transform.apply_to_actor#
- Transform.apply_to_actor(
 - actor: Prop3D,
 - /,
 - mode: Literal['pre-multiply', 'post-multiply', 'replace'] = 'post-multiply',
 - *,
 - copy: bool = True,
 - inverse: bool = False,
 Apply the current transformation
matrixto an actor.This is equivalent to
apply(actor, mode). Seeapply()for details and examples.- Parameters:
 - actor
Prop3D Actor to apply the transformation to.
- mode‘pre-multiply’, ‘post-multiply’, ‘replace’, default: ‘post-multiply’
 Mode for transforming the actor:
'pre-multiply'pre-multiplies this transform with the actor’suser_matrix.'post-multiply'post-multiplies this transform with the actor’s user-matrix.'replace'replaces the actor’s user-matrix with this transform’smatrix.
By default,
'post-multiply'mode is used.- inversebool, default: 
False Apply the transformation using the
inverse_matrixinstead of thematrix.- copybool, default: 
True Return a copy of the input with the transformation applied. Set this to
Falseto transform the input directly and return it.
- actor
 - Returns:
 Prop3DTransformed actor.
See also
applyApply this transformation to any input.
apply_to_pointsApply this transformation to points.
apply_to_vectorsApply this transformation to vectors.
apply_to_datasetApply this transformation to a dataset.
pyvista.Prop3D.transformTransform an actor.