Basic camera control API (#15796)

This commit is contained in:
sfan5
2025-02-19 18:45:45 +01:00
committed by GitHub
parent 50819ace8f
commit ba62808fe8
18 changed files with 162 additions and 42 deletions

View File

@@ -378,6 +378,12 @@ class ObjectRef : public ModApiBase {
// get_eye_offset(self)
static int l_get_eye_offset(lua_State *L);
// set_camera(self, {params})
static int l_set_camera(lua_State *L);
// get_camera(self)
static int l_get_camera(lua_State *L);
// set_nametag_attributes(self, attributes)
static int l_set_nametag_attributes(lua_State *L);