AllApi

ceramic.AllApi (Class)

Utility class to prevent dead code elimination of API classes.

Static Members

apiCallCache(): Void

Forces inclusion of commonly used reflection methods. This ensures Type.allEnums and Bytes.ofHex are available at runtime.


script
configureHscript(interp: hscript.Interp): Void

Configures an HScript interpreter with Ceramic API bindings.

This method sets up all necessary variable bindings to make Ceramic classes and utilities available within HScript environments. It's used by the scripting plugin to provide full framework access to scripts.

The configuration includes:

  • Global shortcuts (app, screen, audio, etc.)
  • Standard Haxe libraries (Std, Math, StringTools)
  • Tracker framework classes
  • All Ceramic core classes
  • Plugin-specific classes when available
Name Type Description
interp hscript.Interp The HScript interpreter to configure