ParticleShape3D QML Type
Offre forme 3D per emettitori e attuatori. Altro...
| Import Statement: | import QtQuick3D.Particles3D |
| Since: | Qt 6.2 |
| Inherits: |
Proprietà
Descrizione dettagliata
L'elemento ParticleShape3D supporta forme quali Cube, Sphere e Cylinder per le esigenze relative alle particelle. Ad esempio, un emettitore può utilizzare la proprietà shape per emettere particelle dall'area della forma.
Le forme non hanno posizione, scala o rotazione. Per queste proprietà, utilizzano invece il nodo padre.
Documentazione delle proprietà
ShapeType : enumeration
Definisce il tipo della forma.
| Costante | Descrizione |
|---|---|
ParticleShape3D.Cube | Forma a cubo. |
ParticleShape3D.Sphere | Forma sferica. |
ParticleShape3D.Cylinder | Forma cilindrica. |
extents : vector3d
Questa proprietà definisce i limiti della forma.
Il valore predefinito per ciascun asse è 50.
fill : bool
Questa proprietà definisce se la forma deve essere riempita o se devono essere visualizzati solo i contorni.
Il valore predefinito è " true".
type : ShapeType
Questa proprietà definisce il tipo della forma.
Il valore predefinito è ParticleShape3D.Cube.
© 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.