CubbyFlow::PointParticleEmitter2::Builder Class Referencefinal
Front-end to create PointParticleEmitter2 objects step by step. More...
#include <Core/Emitter/PointParticleEmitter2.h>
Public Member Functions | |
Builder & | WithOrigin (const Vector2D &origin) |
Returns builder with origin. More... | |
Builder & | WithDirection (const Vector2D &direction) |
Returns builder with direction. More... | |
Builder & | WithSpeed (double speed) |
Returns builder with speed. More... | |
Builder & | WithSpreadAngleInDegrees (double spreadAngleInDegrees) |
Returns builder with spread angle in degrees. More... | |
Builder & | WithMaxNumberOfNewParticlesPerSecond (size_t maxNumOfNewParticlesPerSec) |
Builder & | WithMaxNumberOfParticles (size_t maxNumberOfParticles) |
Returns builder with max number of particles. More... | |
Builder & | WithRandomSeed (uint32_t seed) |
Returns builder with random seed. More... | |
PointParticleEmitter2 | Build () const |
Builds PointParticleEmitter2. More... | |
PointParticleEmitter2Ptr | MakeShared () const |
Builds shared pointer of PointParticleEmitter2 instance. More... | |
Detailed Description
Front-end to create PointParticleEmitter2 objects step by step.
Member Function Documentation
◆ Build()
PointParticleEmitter2 CubbyFlow::PointParticleEmitter2::Builder::Build | ( | ) | const |
Builds PointParticleEmitter2.
◆ MakeShared()
PointParticleEmitter2Ptr CubbyFlow::PointParticleEmitter2::Builder::MakeShared | ( | ) | const |
Builds shared pointer of PointParticleEmitter2 instance.
◆ WithDirection()
Returns builder with direction.
◆ WithMaxNumberOfNewParticlesPerSecond()
Builder& CubbyFlow::PointParticleEmitter2::Builder::WithMaxNumberOfNewParticlesPerSecond | ( | size_t | maxNumOfNewParticlesPerSec | ) |
◆ WithMaxNumberOfParticles()
Builder& CubbyFlow::PointParticleEmitter2::Builder::WithMaxNumberOfParticles | ( | size_t | maxNumberOfParticles | ) |
Returns builder with max number of particles.
◆ WithOrigin()
Returns builder with origin.
◆ WithRandomSeed()
Builder& CubbyFlow::PointParticleEmitter2::Builder::WithRandomSeed | ( | uint32_t | seed | ) |
Returns builder with random seed.
◆ WithSpeed()
Builder& CubbyFlow::PointParticleEmitter2::Builder::WithSpeed | ( | double | speed | ) |
Returns builder with speed.
◆ WithSpreadAngleInDegrees()
Builder& CubbyFlow::PointParticleEmitter2::Builder::WithSpreadAngleInDegrees | ( | double | spreadAngleInDegrees | ) |
Returns builder with spread angle in degrees.
The documentation for this class was generated from the following file:
- Core/Emitter/PointParticleEmitter2.h