API Reference

The Acron Python API consists of two packages: the acron core library, which is written in C++, and the direct library, which is written in Python. This section of the documentation aims to give a complete overview of all the classes and functions defined in these two libraries.

acron - Core library

acron._log

Shared warning channel -- one logger namespace for the whole package.

acron._rplight

acron.actor

acron.actor — the object model: what a thing in the world is.

acron.ai

acron.anim

AnimationTree replacement -- blend spaces, a transition SM, and root motion.

acron.area2d

Area2D -- rectangular overlap sensors with enter/exit signals.

acron.atmosphere

acron.audio

Audio -- Godot AudioStreamPlayer / AudioStreamPlayer3D on Acron.

acron.audiospace

Runtime acoustic space over baked sources.

acron.blend2bam

acron.blueprints

Blueprint runtime: the contract between Studio-generated code and the game.

acron.buildinfo

acron.buildinfo — where an installed Acron SDK keeps its build artifacts.

acron.bullet

acron.camera_2d

Camera2D -- limits + smoothing over the Canvas2D camera.

acron.camera_shake

Trauma-based camera noise shake (the Godot FastNoiseLite idiom).

acron.canvas2d

The 2D stage: Godot's 2D frame (x right, y DOWN, pixels) on Acron.

acron.character_body

CharacterBody3D -- a kinematic collide-and-slide mover on Bullet sweep tests.

acron.character_body_2d

CharacterBody2D -- Godot's 2D move_and_slide on the plane-constrained Bullet world.

acron.clouds

Volumetric clouds and weather on acron.sky (core profile).

acron.core

acron.direct

acron.dsp

Offline DSP for baked game audio, and the versioned WAV cache it lands in.

acron.dtoolconfig

Alias of acron.interrogatedb.

acron.ecosystem

Plant ecosystems and ground cover: woods grown over a terrain by the engine's native simulator (acron.vegetation: plants competing for light and room, seeding, dying, over decades; after Deussen et al. 1998 and Makowski et al. 2019) and planted into acron.trees.Forest, and grass drawn blade by blade by hardware instancing (after Ghost of Tsushima's grass and Jahrmann & Wimmer 2017), thinned under the canopy and on the roads, in the sky's light and wind.

acron.egg

acron.enet

acron.fixed_loop

Fixed-rate game loop -- Godot's _physics_process cadence on Acron.

acron.fog

Physically based volumetric fog: a froxel volume (Hillaire 2015, Wronski 2014) on acron.sky, lit by the sun and moon with their shadows, the sky and Acron's own point lights and spotlights.

acron.fonts

Fonts bundled with the SDK: Lato-Regular.ttf (SIL Open Font License 1.1, OFL.txt) — the default face acron.blueprints.default_ui_font() hands to an RmlUi context.

acron.fx

acron.gamepad

Gamepad mechanisms: dead zone, a standard-pad reader, one adopted seat.

acron.gdformat

The Godot-format ingestion layer — scheduled for replacement.

acron.geom

Procedural geometry — primitives for meshes generated by code.

acron.gltf

acron.governor

Pixel budget + frame-time governor: resolution as a spendable resource.

acron.gpu

Pixel buffers <-> Acron textures, and the way back out of an offscreen scene.

acron.gsplat

acron.hdri

HDR panorama conversion for Acron: equirectangular HDR/EXR -> the image-based light (acron.shading.IblEnvironment, .ibl files), cube faces and cubemap textures, plus the dominant light.

acron.hud

Instrument widgets for game HUDs — the drawing RCSS cannot do.

acron.input_map

Input map -- Godot-style action queries over Acron's input state.

acron.interop

Godot(Y-up) <-> Acron(Z-up) conventions -- the single source of truth.

acron.keyframes

Keyframe tracks: sampling and loop folding, format-agnostic.

acron.layout

One set of panel numbers, two renderers — the bridge between UI tiers.

acron.materials

Apply PBR material data onto loaded GLBs that ship names but no textures.

acron.mathutil

Godot @GlobalScope math helpers that ported scripts call by name.

acron.net

acron.noise

Deterministic value noise + seeded PRNG — the determinism primitives.

acron.ode

acron.parallax

ParallaxLayer -- background layers that scroll slower/faster than the world.

acron.particles2d

2D particle simulation: pooled textured cards stepped on the CPU.

acron.particles3d

Godot's CPUParticles3D, replayed on Acron.

acron.pbr

Physically based shading for a game, in one call.

acron.persist

Files a game keeps between sessions: JSON read defensively, written atomically, and brought forward through a schema-version chain.

acron.physics

acron.pipeline

The frame pipeline: the scene into HDR targets with normals and motion vectors, temporal anti-aliasing, spatiotemporal blue noise, ground-truth ambient occlusion and a composite into the window (core profile, fragment passes: the same code on the Windows/Linux GL 4.5 targets and on macOS 4.1).

acron.proctree

acron.quads

A pool of quads in one vertex buffer — particles, sprites, billboards.

acron.ragdoll

acron.raster

acron.rmlui

acron.sampling

acron.shaderlib

GLSL sources shared by the environment modules and by any game's own shaders.

acron.shading

acron.shim

Acron launcher shim — call init(app) once the ShowBase is up.

acron.signals

Per-instance signals -- the one piece of Godot's signal API Acron lacks.

acron.skel

acron.sky

The sky, the day and the night: a physically based atmosphere (Hillaire 2020) lit by a sun and a moon that sit where they would for a date, an hour and a place, with the frame values every environment-aware shader reads.

acron.slide

The collide-and-slide core both character movers run on.

acron.sog

Gaussian-splat bundles: SOG v2 — "Spatially Ordered Gaussians", the compressed format written by PlayCanvas's splat-transform tool and served by the splat hosts built on it — read as they are, and the 3DGS .ply a trainer writes, packed into the same shape on load.

acron.splats

Gaussian splats on Acron: a SOG bundle's planes as textures, a work-buffer pass that decodes them (and lets the application deform them), one instanced draw in back-to-front order, and the sorter that produces that order.

acron.spring_arm

SpringArm3D -- faithful reimplementation of Godot's SpringArm3D.

acron.sprite2d

Sprite2D / AnimatedSprite2D -- textured cards in the canvas2d frame.

acron.stock

acron.stock — the stock actors and the input/camera/time globals.

acron.strings

A string table with locales: every word an interface shows, by a stable key, with a translation merged over it.

acron.testing

Drivers for proving a game against its real engine — offscreen and in-window.

acron.tile_map

Tile-map runtime: render layers of placed tiles, collide, spawn scene tiles.

acron.timers

Godot Timer nodes -- countdowns ticked from the fixed loop.

acron.touch

On-screen thumbsticks and button columns, driven by the pointer.

acron.trees

Procedural trees and forests: species presets grown by the engine's native generator (acron.proctree: Weber & Penn 1995 with SeedThree's extensions, space colonisation, LODs), painted without art, and drawn by hardware instancing with wind, seasons, impostors and the sky's light.

acron.ui

RmlUi machinery for game UIs (menus, HUDs) on the acron engine.

acron.vegetation

acron.vision

acron.vrpn

acron.window

The window: the prc a game needs before ShowBase, the Retina re-request, and a frame rendered from inside a long call.

acron.world

Bullet physics world with Godot's conventions, plus query helpers.

direct - Python support library

DIRECT is a set of Python-based tools that are layered on top of core Acron, which is written in C++. It includes the DirectGUI tools, the task system, the Interval system, a high-level class for animated characters, and several other systems.

There are additional C++ classes to support these modules, which can be found in the acron.direct module.

direct.actor

This package contains the Actor class as well as a distributed variant thereof.

direct.cluster

direct.controls

This package contains various types of character controllers, handling basic control mechanics and setting up collisions for them.

direct.directbase

This package contains modules to quickly set up a Acron environment for quick prototyping in the interactive Python shell.

direct.directdevices

This package contains a high-level interface for VRPN devices.

direct.directnotify

This package contains notification and logging utilities for Python code.

direct.directtools

This package contains the DIRECT tools, a set of tkinter tools for exploring and manipulating the Acron scene graph. By default, these are disabled, but they can be explicitly enabled using the following PRC configuration::.

direct.directutil

This package contains assorted utility classes.

direct.dist

This package contains tools to help with distributing Acron applications.

direct.distributed

This package contains an implementation of the Distributed Networking API, a high-level networking system that automatically propagates changes made on distributed objects to interested clients.

direct.extensions_native

This package contains various Python methods that extend some of Acron's underlying C++ classes.

direct.filter

This package contains functionality for applying post-processing filters to the result of rendering a 3-D scene.

direct.fsm

This package contains implementations of a Finite State Machine, an abstract construct that holds a particular state and can transition between several defined states.

direct.gui

This package contains the DirectGUI system, a set of classes responsible for drawing graphical widgets to the 2-D scene graph.

direct.interval

This package contains the Python implementation of the interval system, which is a mechanism for playing back scripted actions.

direct.motiontrail

This package contains only the MotionTrail class.

direct.particles

This package contains the high-level Python interface to the particle system.

direct.showbase

This package contains ShowBase, an application framework responsible for opening a graphical display, setting up input devices and creating the scene graph.

direct.showutil

direct.stdpy

This package contains various modules that provide a drop-in substitute for some of the built-in Python modules.

direct.task

This package contains the Python interface to the task system, which manages scheduled functions that are executed at designated intervals.

direct.wxwidgets