Simulant  21.12-574
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Classes | Public Member Functions | Static Public Attributes | List of all members
smlt::ParticleScript Class Reference
Inheritance diagram for smlt::ParticleScript:
smlt::Asset smlt::Loadable smlt::generic::Identifiable< ParticleScriptID > smlt::RefCounted< ParticleScript > smlt::ChainNameable< ParticleScript > smlt::Nameable smlt::TwoPhaseConstructed smlt::Nameable


struct  BuiltIns

Public Member Functions

 ParticleScript (ParticleScriptID id, AssetManager *asset_manager)
std::size_t emitter_count () const
const Emitteremitter (std::size_t i) const
Emittermutable_emitter (std::size_t i)
std::size_t manipulator_count () const
const Manipulatormanipulator (std::size_t i) const
std::size_t quota () const
float particle_width () const
float particle_height () const
bool cull_each () const
MaterialPtr material () const
bool has_repeating_emitters () const
void add_manipulator (std::shared_ptr< Manipulator > manipulator)
void clear_manipulators ()
void push_emitter (const Emitter &emitter)
void clear_emitters ()
void set_quota (std::size_t quota)
void set_particle_width (float w)
void set_particle_height (float h)
void set_cull_each (bool v)
void set_material (MaterialPtr material)
- Public Member Functions inherited from smlt::Asset
 Asset (AssetManager *manager)
AssetManagerasset_manager ()
const AssetManagerasset_manager () const
int age () const
void set_garbage_collection_method (GarbageCollectMethod method)
- Public Member Functions inherited from smlt::Nameable
void set_name (const std::string &name)
const std::string & name () const
bool has_name () const
- Public Member Functions inherited from smlt::generic::Identifiable< ParticleScriptID >
 Identifiable (ParticleScriptID id)
ParticleScriptID id () const
virtual bool operator== (const Identifiable< ParticleScriptID > &rhs) const
virtual bool operator< (const Identifiable< ParticleScriptID > &rhs) const
void _bind_id_pointer (ResourceTypePtr ptr)
void _overwrite_id (ParticleScriptID new_id)
- Public Member Functions inherited from smlt::TwoPhaseConstructed
virtual bool init ()
virtual void clean_up ()
- Public Member Functions inherited from smlt::ChainNameable< ParticleScript >
ParticleScriptset_name_and_get (const std::string &name)

Static Public Attributes

static const int MAX_EMITTER_COUNT = 8

Additional Inherited Members

- Public Types inherited from smlt::generic::Identifiable< ParticleScriptID >
typedef ParticleScriptID id_type
- Public Types inherited from smlt::RefCounted< ParticleScript >
typedef std::shared_ptr< ParticleScriptptr
typedef std::weak_ptr< ParticleScriptwptr
- Static Public Member Functions inherited from smlt::RefCounted< ParticleScript >
static RefCounted< ParticleScript >::ptr create (Args &&... args)
static RefCounted< ParticleScript >::ptr create ()
- Public Attributes inherited from smlt::Asset
Property< generic::DataCarrier Asset::* > data = {this, &Asset::data_}
- Protected Member Functions inherited from smlt::Asset
 Asset (const Asset &rhs)
Assetoperator= (const Asset &rhs)
- Protected Member Functions inherited from smlt::RefCounted< ParticleScript >
 RefCounted (Args &&...)

The documentation for this class was generated from the following files: