#include <effect.h>
|
| | Effect ()=default |
| |
| | Effect (Effect &&)=default |
| |
| | Effect (PfxEmitter &&pfx, std::string_view node) |
| |
| | Effect (const VisualFx &vfx, World &owner, const Npc &src, SpellFxKey key=SpellFxKey::Count) |
| |
| | Effect (const VisualFx &vfx, World &owner, const Tempest::Vec3 &pos, SpellFxKey key=SpellFxKey::Count) |
| |
| | ~Effect () |
| |
| Effect & | operator= (Effect &&)=default |
| |
| bool | is (const VisualFx &vfx) const |
| |
| const VisualFx * | handle () const |
| |
| void | tick (uint64_t dt) |
| |
| void | setActive (bool e) |
| |
| void | setLooped (bool l) |
| |
| void | setTarget (const Npc *npc) |
| |
| void | setOrigin (Npc *npc) |
| |
| void | setObjMatrix (const Tempest::Matrix4x4 &mt) |
| |
| void | setKey (World &owner, SpellFxKey key, int32_t keyLvl=0) |
| |
| void | setMesh (const MeshObjects::Mesh *mesh) |
| |
| void | setBullet (Bullet *b, World &owner) |
| |
| void | setSpellId (int32_t splId, World &owner) |
| |
| uint64_t | effectPrefferedTime () const |
| |
| bool | isAlive () const |
| |
| void | setPhysicsDisable () |
| |
| void | bindAttaches (const Pose &pose, const Skeleton &to) |
| |
Definition at line 19 of file effect.h.
◆ Effect() [1/5]
◆ Effect() [2/5]
◆ Effect() [3/5]
| Effect::Effect |
( |
PfxEmitter && |
pfx, |
|
|
std::string_view |
node |
|
) |
| |
◆ Effect() [4/5]
◆ Effect() [5/5]
◆ ~Effect()
◆ bindAttaches()
| void Effect::bindAttaches |
( |
const Pose & |
pose, |
|
|
const Skeleton & |
to |
|
) |
| |
◆ effectPrefferedTime()
| uint64_t Effect::effectPrefferedTime |
( |
| ) |
const |
◆ handle()
| const VisualFx * Effect::handle |
( |
| ) |
const |
|
inline |
◆ is()
| bool Effect::is |
( |
const VisualFx & |
vfx | ) |
const |
◆ isAlive()
| bool Effect::isAlive |
( |
| ) |
const |
◆ onCollide()
| void Effect::onCollide |
( |
World & |
owner, |
|
|
const VisualFx * |
root, |
|
|
const Tempest::Vec3 & |
pos, |
|
|
Npc * |
npc, |
|
|
Npc * |
other, |
|
|
int32_t |
splId |
|
) |
| |
|
static |
◆ operator=()
◆ setActive()
| void Effect::setActive |
( |
bool |
e | ) |
|
◆ setBullet()
◆ setKey()
◆ setLooped()
| void Effect::setLooped |
( |
bool |
l | ) |
|
◆ setMesh()
◆ setObjMatrix()
| void Effect::setObjMatrix |
( |
const Tempest::Matrix4x4 & |
mt | ) |
|
◆ setOrigin()
| void Effect::setOrigin |
( |
Npc * |
npc | ) |
|
◆ setPhysicsDisable()
| void Effect::setPhysicsDisable |
( |
| ) |
|
◆ setSpellId()
| void Effect::setSpellId |
( |
int32_t |
splId, |
|
|
World & |
owner |
|
) |
| |
◆ setTarget()
| void Effect::setTarget |
( |
const Npc * |
npc | ) |
|
◆ tick()
| void Effect::tick |
( |
uint64_t |
dt | ) |
|
The documentation for this class was generated from the following files: