Docs

Enumerations

Enums are exposed as Lua namespaces (Scaling.FITWIDTH) and C++ enum class types. See Engine for Scaling, Platform, and GraphicBackend.

Enum Typical use
Scaling Canvas scaling mode
TextureStrategy Non-power-of-two texture handling
Platform Runtime OS
GraphicBackend Graphics API
BodyType STATIC, KINEMATIC, DYNAMIC
CameraType UI, orthographic, perspective
LightType Directional, point, spot
Shape2DType / Shape3DType Physics shapes
Joint2DType / Joint3DType Constraints
AnchorPreset / PivotPreset UI layout
EaseType Animation easing
SoundState / SoundAttenuation Audio
ActionState Action playback
FogType Fog mode
LightState / UIEventState Scene flags
PrimitiveType / CullingMode / WindingOrder Rendering
TextureFilter / TextureWrap / TextureType Textures
CursorType Mouse cursor
ResourceLoadState Async loading

Run doriax/generate_api_suggestions.py against the engine binding folder for the authoritative member list when documenting new enum values.