![]() |
Duckcpp 2.1.0
Duckcpp is a high-performance c++ graphics engine.
|
A particle affector which rotates the particle system. More...
#include <duckcpp/core/engine/IParticleRotationAffector.hpp>
Public Member Functions | |
virtual void | setPivotPoint (const dcpp::nub::vector3df &point)=0 |
Set the point that particles will rotate around. | |
virtual void | setSpeed (const dcpp::nub::vector3df &speed)=0 |
Set the speed in degrees per second in all 3 dimensions. | |
virtual const dcpp::nub::vector3df & | getPivotPoint () const =0 |
Get the point that particles are attracted to. | |
virtual const dcpp::nub::vector3df & | getSpeed () const =0 |
Get the speed in degrees per second in all 3 dimensions. | |
virtual E_PARTICLE_AFFECTOR_TYPE | getType () const override |
Get emitter type. | |
![]() | |
IParticleAffector () | |
constructor | |
virtual void | affect (dcpp::uint32_kt now, SParticle *particlearray, dcpp::uint32_kt count)=0 |
Affects an array of particles. | |
virtual void | setEnabled (bool enabled) |
Sets whether or not the affector is currently enabled. | |
virtual bool | getEnabled () const |
Gets whether or not the affector is currently enabled. | |
![]() | |
virtual void | serializeAttributes (dcpp::io::IAttributes *out, dcpp::io::SAttributeReadWriteOptions *options=0) const |
Writes attributes of the object. | |
virtual void | deserializeAttributes (dcpp::io::IAttributes *in, dcpp::io::SAttributeReadWriteOptions *options=0) |
Reads attributes of the object. | |
![]() | |
IReferenceCounted () | |
Constructor. | |
virtual | ~IReferenceCounted () |
Destructor. | |
void | grab () const |
Grabs the object. Increments the reference counter by one. | |
bool | drop () const |
Drops the object. Decrements the reference counter by one. | |
dcpp::int32_kt | getReferenceCount () const |
Get the reference count. | |
const dcpp::char_kt * | getDebugName () const |
Returns the debug name of the object. | |
Additional Inherited Members | |
![]() | |
void | setDebugName (const dcpp::char_kt *newName) |
Sets the debug name of the object. | |
![]() | |
bool | Enabled |
A particle affector which rotates the particle system.
|
inlineoverridevirtual |
Get emitter type.
Implements dcpp::scene::IParticleAffector.