|
Monad Engine da02fba2
> Undercity Codex_
|
#include <ParticleEmitterComponent.h>
Inheritance diagram for mnd::ParticleEmitterComponent:
Collaboration diagram for mnd::ParticleEmitterComponent:Public Member Functions | |
| void | Update (f32 deltaTime) override |
| void | LoadProperties (const nlohmann::json &json) override |
| void | SetEmitting (bool on) |
| bool | IsEmitting () const |
| void | Burst (int count) |
| Single-shot burst at the owner's current position (e.g. on death/hit). | |
| virtual void | Init () |
| virtual size_t | GetTypeId () const =0 |
| GameObject * | GetOwner () |
Static Public Member Functions | |
| template<typename T > | |
| static size_t | StaticTypeId () |
Protected Attributes | |
| GameObject * | m_owner = nullptr |
Definition at line 19 of file ParticleEmitterComponent.h.
| void mnd::ParticleEmitterComponent::Burst | ( | int | count | ) |
Single-shot burst at the owner's current position (e.g. on death/hit).
Definition at line 63 of file ParticleEmitterComponent.cpp.
|
inherited |
Definition at line 12 of file Component.cpp.
References mnd::Component::m_owner.
Referenced by mnd::MeshComponent::Update(), and mnd::SkinnedMeshComponent::Update().
|
pure virtualinherited |
|
virtualinherited |
Reimplemented in mnd::PhysicsComponent, and mnd::PlayerControllerComponent.
Definition at line 10 of file Component.cpp.
Referenced by mnd::GameObject::AddComponent().
|
inline |
Definition at line 27 of file ParticleEmitterComponent.h.
|
overridevirtual |
Reimplemented from mnd::Component.
Definition at line 94 of file ParticleEmitterComponent.cpp.
References mnd::ReadVec3.
|
inline |
Definition at line 26 of file ParticleEmitterComponent.h.
|
inlinestaticinherited |
Definition at line 50 of file Component.h.
|
overridevirtual |
Implements mnd::Component.
Definition at line 48 of file ParticleEmitterComponent.cpp.
|
protectedinherited |
Definition at line 57 of file Component.h.
Referenced by mnd::GameObject::AddComponent(), mnd::HealthComponent::ApplyDamage(), mnd::Component::GetOwner(), mnd::CameraComponent::GetViewMatrix(), mnd::PhysicsComponent::Init(), mnd::PlayerControllerComponent::Init(), mnd::PlayerControllerComponent::Update(), mnd::AudioComponent::Update(), mnd::AudioListenerComponent::Update(), and mnd::PhysicsComponent::Update().