EPOK RUNTIME
epok::World2DLibrary
Struct
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.
Struct
Struct declared by the gameplay-api module for the gameplay api 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 "gameplay_api.hpp"
epok::World2DLibrary& value = /* obtain a valid instance from your game */;Static methods
overlap_box_2dActors whose Collider2D bounds overlap the box centred on `center` with `half_extents`.Methodraycast_2dNearest Collider2D along origin + displacement (pixels).Methodscreen_to_worldPerforms `screen to world` as part of the gameplay api module.Methodworld_to_screenPerforms `world to screen` as part of the gameplay api module.Method