En esta página

Affector3D QML Type

Los afectadores modifican los atributos de las partículas durante su vida útil. Más...

Import Statement: import QtQuick3D.Particles3D
Since: Qt 6.2
Inherits:

Node

Inherited By:

Attractor3D, Gravity3D, PointRotator3D, Repeller3D, ScaleAffector3D, and Wander3D

Propiedades

Descripción detallada

El Afector3D es una clase base abstracta de afectadores como Gravity3D, Wander3D, y PointRotator3D.

Por defecto, los afectadores afectan a todas las partículas del sistema, pero esto puede limitarse definiendo la lista particles. Si el sistema tiene múltiples afectadores, el orden de los afectadores puede dar lugar a resultados diferentes, ya que los afectadores se aplican uno tras otro.

Documentación de propiedades

enabled : bool

Si habilitado está en false, este afector no alterará ninguna partícula. Normalmente se utiliza para activar o desactivar condicionalmente un afector.

El valor por defecto es true.

particles : List<Particle3D>

Esta lista controla qué partículas lógicas se verán afectadas. Cuando está vacía, se ven afectadas todas las partículas del sistema.

system : ParticleSystem3D

Esta propiedad define el ParticleSystem3D para el afector. Si el sistema es el padre directo del afector, no es necesario definir esta propiedad.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.