3#include <Tempest/Point>
6#include <zenkit/Misc.hh>
12 Tempest::Vec3
dir()
const {
return ldir; }
13 void setDir(
const Tempest::Vec3& d);
14 void setDir(
float x,
float y,
float z);
16 const Tempest::Vec3&
color()
const {
return clr; }
18 void setColor(
const std::vector<uint32_t>& cl,
float fps,
bool smooth);
19 void setColor(
const std::vector<zenkit::Color>& cl,
float fps,
bool smooth);
20 void setColor(
const std::vector<Tempest::Vec3>& cl,
float fps,
bool smooth);
23 const Tempest::Vec3&
position()
const {
return pos; }
25 float range()
const {
return rgn; }
27 void setRange(
const std::vector<float>& rangeAniScale,
float base,
float fps,
bool smooth);
31 void update(uint64_t time);
56 std::vector<float> rangeAniScale;
57 uint64_t rangeAniFPSInv = 0;
58 bool rangeSmooth =
false;
60 std::vector<Tempest::Vec3> colorAniList;
61 uint64_t colorAniListFpsInv = 0;
62 bool colorSmooth =
false;
void setDebugName(std::string_view hint)
const Tempest::Vec3 & position() const
void setColor(const std::vector< Tempest::Vec3 > &cl, float fps, bool smooth)
void update(uint64_t time)
uint64_t effectPrefferedTime() const
float currentRange() const
void setDir(const Tempest::Vec3 &d)
std::string_view debugName() const
Tempest::Vec3 dir() const
const Tempest::Vec3 & color() const
const Tempest::Vec3 & currentColor() const
void setColor(const Tempest::Vec3 &cl)
void setPosition(const Tempest::Vec3 &p)
void setTimeOffset(uint64_t t)