Epok Engine

EPOK RUNTIME

epok::Transform2D

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

2D world transform: XY position in Q12 pixels (Y points down, as on screen), rotation in degrees about the view axis, per-axis scale and a z-index draw order.

Namespace
epok
Header
object_model.hpp
Include
#include "object_model.hpp"
Module
object-model
Source
runtime/object_model.hpp:96

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 "object_model.hpp"

epok::Transform2D& value = /* obtain a valid instance from your game */;

Fields and constants