EPOK RUNTIME
epok::Particles2DComponent
Class
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.
Class
Class declared by the world2d-content module for the world2d content module.
Basic usage
This generated sketch illustrates syntax for reaching the type; adapt it to the actual API contract. Open a member below for an operation-specific example.
C++ example
#include "world2d_content.hpp"
epok::Particles2DComponent& value = /* obtain a valid instance from your game */;Fields and constants
accumulatorRuntime state, owned by the service.FieldaliveExposes `alive` on `epok::Particles2DComponent` for the world2d content module.FieldamountExposes `amount` on `epok::Particles2DComponent` for the world2d content module.FieldblendExposes `blend` on `epok::Particles2DComponent` for the world2d content module.FielddampingExposes `damping` on `epok::Particles2DComponent` for the world2d content module.FielddirectionExposes `direction` on `epok::Particles2DComponent` for the world2d content module.FieldemittedExposes `emitted` on `epok::Particles2DComponent` for the world2d content module.FieldemittingExposes `emitting` on `epok::Particles2DComponent` for the world2d content module.Fieldend_colorExposes `end_color` on `epok::Particles2DComponent` for the world2d content module.FieldexplosivenessExposes `explosiveness` on `epok::Particles2DComponent` for the world2d content module.Fieldextentshalf size of the rectangle; [0] is the circle radiusFieldfinishedExposes `finished` on `epok::Particles2DComponent` for the world2d content module.FieldgravityExposes `gravity` on `epok::Particles2DComponent` for the world2d content module.Fieldhframesframes across `region`, played over the lifetimeFieldlifetimeExposes `lifetime` on `epok::Particles2DComponent` for the world2d content module.Fieldlink2dExposes `link2d` on `epok::Particles2DComponent` for the world2d content module.Fieldlocal_coordsExposes `local_coords` on `epok::Particles2DComponent` for the world2d content module.Fieldone_shotExposes `one_shot` on `epok::Particles2DComponent` for the world2d content module.FieldregionExposes `region` on `epok::Particles2DComponent` for the world2d content module.Fieldscalestart, endFieldseedExposes `seed` on `epok::Particles2DComponent` for the world2d content module.FieldshapeExposes `shape` on `epok::Particles2DComponent` for the world2d content module.FieldspeedExposes `speed` on `epok::Particles2DComponent` for the world2d content module.FieldspreadExposes `spread` on `epok::Particles2DComponent` for the world2d content module.Fieldstart_colorExposes `start_color` on `epok::Particles2DComponent` for the world2d content module.Fieldstatic_class_idExposes `static_class_id` on `epok::Particles2DComponent` for the world2d content module.VariabletextureExposes `texture` on `epok::Particles2DComponent` for the world2d content module.FieldvisibleExposes `visible` on `epok::Particles2DComponent` for the world2d content module.Fieldz_indexExposes `z_index` on `epok::Particles2DComponent` for the world2d content module.FieldPublic methods
~Particles2DComponentReleases the resources owned by `epok::Particles2DComponent`.destructorclass_idPerforms `class id` as part of the world2d content module.Methodget_alive_countReturns alive count as part of the world2d content module.Methodis_emittingReports whether emitting as part of the world2d content module.Methodlevel_attachedPerforms `level attached` as part of the world2d content module.MethodrestartStarts a one-shot burst again (or restarts a stream).Methodset_emittingSets emitting as part of the world2d content module.Methodset_visibleSets visible as part of the world2d content module.Methodtake_finishedTrue once after a one-shot burst's last particle died.Method