Epok Engine

EPOK RUNTIME

epok::EmissionShape2D

Enum

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.

Enum

---- Particles2D -------------------------------------------------------------------------- A CPU particle emitter: `amount` particles live for `lifetime` seconds, spawned evenly (explosiveness 0) or all at once (1) from a point, rectangle or circle, launched in `direction` (degrees, 0 = right, 90 = down) within `spread` at a random speed between `speed[0]` and `speed[1]`, pulled by `gravity`, slowed by `damping`, scaled and tinted from start to end.

Namespace
epok
Header
world2d_content.hpp
Include
#include "world2d_content.hpp"
Module
world2d-content
Source
runtime/world2d_content.hpp:378

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"

auto value = epok::EmissionShape2D::Circle;

Values