Class: QgsMeshVectorTraceAnimationGenerator

A wrapper for QgsMeshParticuleTracesField used to render the particles.

Available for Python binding

Added in version 3.12.

Deprecated since version 4.4: Use QgsVectorFieldTraceAnimationGenerator instead.

List of all members, including inherited members

Class Hierarchy

Inheritance diagram of qgis.core.QgsMeshVectorTraceAnimationGenerator

Base classes

QgsVectorFieldTraceAnimationGenerator

Renders animated particle traces over a vector field.

Constructor

__init__

Methods

setFPS

Sets the number of frames per seconds that will be rendered

setMaxSpeedPixel

Sets the max number of pixels that can be go through by the particles in 1 second

class qgis.core.QgsMeshVectorTraceAnimationGenerator[source]

Bases: QgsVectorFieldTraceAnimationGenerator

__init__(layer: QgsMeshLayer | None, rendererContext: QgsRenderContext)

Constructor to use with Python binding

Deprecated since version 4.4: Use QgsVectorFieldTraceAnimationGenerator.fromMeshLayer() instead.

Parameters:
setFPS(self, FPS: int)[source]

Sets the number of frames per seconds that will be rendered

Parameters:

FPS (int)

setMaxSpeedPixel(self, max: int)[source]

Sets the max number of pixels that can be go through by the particles in 1 second

Parameters:

max (int)