class
#include <nCine/Graphics/ParticleAffectors.h>
RotationAffector Particle rotation affector.
Base classes
- class ParticleAffector
- Base class for particle affectors.
Public types
- struct RotationStep
Constructors, destructors, conversion operators
- RotationAffector()
- RotationAffector(RotationAffector&&) defaulted
- Default move constructor.
- RotationAffector(const RotationAffector& other) protected defaulted
- Protected default copy constructor used to clone objects.
Public functions
- auto operator=(RotationAffector&&) -> RotationAffector& defaulted
- Default move assignment operator.
- auto clone() const -> RotationAffector
- Returns a copy of this object.
- void affect(Particle* particle, float normalizedAge) override
- Affects the rotation of the specified particle.
- void addRotationStep(float age, float angle)
- auto steps() -> SmallVectorImpl<RotationStep>&
- auto steps() const -> const SmallVectorImpl<RotationStep>&