载入中...
搜索中...
未找到
ParticleBakeCapture.cpp 文件参考
#include "particles/bake/capture/ParticleBakeCapture.h"
#include <cmath>
#include <map>
#include <set>
#include "particles/ParticleEventJournal.h"
#include "physics/backend/bake/BakeRecipe.h"

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::particles
 

函数

Result< ParticleTrack > eve::particles::buildParticleTrack (float duration, std::span< const ParticleRecordingSource > sources, const physics::BakeRecipe &recipe)
 Combine complete emitter journals into one immutable particle clip with a common recording recipe. @ownership Borrows all event views and recipe only during conversion; result owns independent values. @thread Inputs must be stable for this call; no callbacks or simulation.
 
Result< ParticleTrack > eve::particles::buildParticleTrack (PersistentId emitterSession, float duration, std::span< const particles::ParticleRecordEvent > events, const physics::BakeRecipe &recipe)
 Convert a completed emitter-session journal to an immutable planar particle track. @ownership Borrows events and recipe only during conversion; result owns all values and survives source destruction. @thread Inputs must remain stable; no callbacks, simulation, ECS or resource lookups.