Class ParticleEffectComponent

Inheritance Relationships

Base Type

Class Documentation

class ParticleEffectComponent : public Component

Creates particle systems using the Effekseer library.

Public Functions

ParticleEffectComponent(Entity &owner, const JSON::json &data)
~ParticleEffectComponent()
bool isPlayOnStart() const
bool isMoving() const
void setMoving(bool enabled)
bool isPaused() const
void setPlaying(bool enabled)
void play()
void stop()
ParticleEffectResourceFile *getEffectResource()
void setEffect(Ref<ParticleEffectResourceFile> effect)
Effekseer::Handle getHandle() const
JSON::json getJSON() const

Get JSON representation of the component data needed to re-construct component from memory.

void draw()

Expose the component data with ImGui.