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