add 'frames' particles setting

This commit is contained in:
MihailRis
2024-11-03 19:18:26 +03:00
parent 39893ee940
commit b9b122dc83
6 changed files with 48 additions and 1 deletions
+2
View File
@@ -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;