Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Method · 1 overload
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Performs `spawn` as part of runtime effects and their deterministic playback state.
Handle spawn(const Asset& asset,const Affine<Fixed>& world,uint32_t scene, const timeline::BoundTarget* external=nullptr,DataHandle owner={},uint32_t seed=0,LayerInitializer initialize=nullptr)Performs `spawn` as part of runtime effects and their deterministic playback state.
| Parameter | Type | Meaning |
|---|---|---|
asset | const Asset & | Not documented; consult the linked header. |
world | const Affine<Fixed> & | Not documented; consult the linked header. |
scene | uint32_t | Not documented; consult the linked header. |
external | const timeline::BoundTarget * | Not documented; consult the linked header. |
owner | DataHandle | Not documented; consult the linked header. |
seed | uint32_t | Not documented; consult the linked header. |
initialize | LayerInitializer | Not documented; consult the linked header. |
Returns: Handle. Consult the linked header for its meaning.
#include "particle_effect_runtime.hpp"
// Assume these named values have been initialized with valid data:
// const Asset & asset
// const Affine<Fixed> & world
// uint32_t scene
// const timeline::BoundTarget * external
// DataHandle owner
// uint32_t seed
// LayerInitializer initialize
epok::effects::Pool& object = /* obtain a valid instance */;
auto result = object.spawn(asset, world, scene, external, owner, seed, initialize);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/particle_effect_runtime.hpp:83
advanceCall after the director, before the single particle simulation step.MethodburstPerforms `burst` as part of runtime effects and their deterministic playback state.Methodcancel_ownerPerforms `cancel owner` as part of runtime effects and their deterministic playback state.MethodemittersPerforms `emitters` as part of runtime effects and their deterministic playback state.Function templatelayerPerforms `layer` as part of runtime effects and their deterministic playback state.Methodlighting_ownerPerforms `lighting owner` as part of runtime effects and their deterministic playback state.MethodmovePerforms `move` as part of runtime effects and their deterministic playback state.MethodobserveCapture completion before gameplay can reuse a completed director slot.Methodoperator=Performs `operator =` as part of runtime effects and their deterministic playback state.MethodpausePauses pause as part of runtime effects and their deterministic playback state.MethodPoolConstructs `epok::effects::Pool` for runtime effects and their deterministic playback state.constructorprepareCall before the shared director advances.Method