mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 22:41:49 +00:00
add 'frames' particles setting
This commit is contained in:
parent
39893ee940
commit
b9b122dc83
6 changed files with 48 additions and 1 deletions
|
|
@ -48,6 +48,8 @@ struct ParticlesPreset : public Serializable {
|
|||
std::string texture = "";
|
||||
/// @brief Size of random sub-uv region
|
||||
float randomSubUV = 1.0f;
|
||||
/// @brief Animation frames
|
||||
std::vector<std::string> frames {};
|
||||
|
||||
dv::value serialize() const override;
|
||||
void deserialize(const dv::value& src) override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue