CubbyFlow::PointParticleEmitter3::Builder Class Referencefinal

Front-end to create PointParticleEmitter3 objects step by step. More...

#include <Core/Emitter/PointParticleEmitter3.hpp>

Public Member Functions

BuilderWithOrigin (const Vector3D &origin)
 Returns builder with origin. More...
 
BuilderWithDirection (const Vector3D &direction)
 Returns builder with direction. More...
 
BuilderWithSpeed (double speed)
 Returns builder with speed. More...
 
BuilderWithSpreadAngleInDegrees (double spreadAngleInDegrees)
 Returns builder with spread angle in degrees. More...
 
BuilderWithMaxNumberOfNewParticlesPerSecond (size_t maxNumOfNewParticlesPerSec)
 
BuilderWithMaxNumberOfParticles (size_t maxNumberOfParticles)
 Returns builder with max number of particles. More...
 
BuilderWithRandomSeed (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

◆ MakeShared()

PointParticleEmitter3Ptr CubbyFlow::PointParticleEmitter3::Builder::MakeShared ( ) const

Builds shared pointer of PointParticleEmitter3 instance.

◆ WithDirection()

Builder& CubbyFlow::PointParticleEmitter3::Builder::WithDirection ( const Vector3D direction)

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()

Builder& CubbyFlow::PointParticleEmitter3::Builder::WithOrigin ( const Vector3D origin)

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: