Defines abstract item with a material property.
QVector< ItemWithParticles * > containedItemsWithParticles() const override
Return full hierarchical contained items with particles.
void addParticle(ItemWithParticles *particle)
QVector< ItemWithParticles * > particles() const
const MaterialItems * m_materials
ParticleCompositionItem(const MaterialItems *materials)
void serialize(Streamer &s) override
void removeParticle(ItemWithParticles *particle)
QVector< ItemWithParticles * > m_particles
std::unique_ptr< ParticleComposition > createParticleComposition() const