载入中...
搜索中...
未找到
#include "common/Json.h"#include "common/Result.h"#include "particles/ParticleEmitter.h"#include <string>命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::particles |
函数 | |
| eve::Result< void > | eve::particles::applyConfigDocument (ParticleEmitter *emitter, eve::json::Value root) |
| Apply particle JSON config onto an emitter, including material texture resources. Does not change buffer size or clear live particles. | |
| bool | eve::particles::applyConfigText (ParticleEmitter *emitter, const std::string &json, std::string *error=nullptr) |
| Parse JSON text and apply. | |
| bool | eve::particles::loadConfigFile (ParticleEmitter *emitter, const std::string &path, std::string *error=nullptr) |
| Read path via Filesystem, apply, and bind Resource.path + modtime for hot reload. Returns false if file missing / invalid JSON. | |
| bool | eve::particles::reloadConfigFile (ParticleEmitter *emitter, std::string *error=nullptr) |
| Re-read Resource.path if set; updates modtime. | |