|
Kemena3D
|
Registers the engine's host API with an AngelScript engine. More...

Go to the source code of this file.
Namespaces | |
| namespace | kemena |
| Top-level Kemena3D engine namespace. | |
Functions | |
| KEMENA3D_API void | kemena::registerScriptBindings (kScriptManager *manager) |
Registers all host types and functions on manager's engine. | |
Registers the engine's host API with an AngelScript engine.
The binding layer exposes a minimal but useful surface to scripts:
kVec3 — 3-component float vector value type.kObject — scene node handle (transform, name, hierarchy).getSelf() — returns the kObject the running script is attached to.getDeltaTime() — frame delta time in seconds.getFixedDeltaTime() — fixed-step delta time in seconds.print() / log() — console logging.