Epok Engine

EPOK RUNTIME

epok::effects::configure

Function · 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.

Function

Performs `configure` as part of runtime effects and their deterministic playback state.

Belongs to
epok::effects
Header
particle_effect_service.hpp
Overloads
1

Declaration

Declaration
inline Component* configure(DataHandle owner,const Asset& asset,bool enabled,bool automatic,uint32_t seed)

Performs `configure` as part of runtime effects and their deterministic playback state.

ParameterTypeMeaning
ownerDataHandleNot documented; consult the linked header.
assetconst Asset &Not documented; consult the linked header.
enabledboolNot documented; consult the linked header.
automaticboolNot documented; consult the linked header.
seeduint32_tNot documented; consult the linked header.

Returns: Component *. Consult the linked header for its meaning.

Example sketch

C++ example
#include "particle_effect_service.hpp"

// Assume these named values have been initialized with valid data:
// DataHandle owner
// const Asset & asset
// bool enabled
// bool automatic
// uint32_t seed

auto result = epok::effects::configure(owner, asset, enabled, automatic, seed);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/particle_effect_service.hpp:28

Related members