Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ ScriptSpriteRegister
Function
ScriptSpriteRegister
engine/gamesys/src/gamesys/scripts/script_sprite.cpp:515–520 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
513
};
514
515
void ScriptSpriteRegister(const ScriptLibContext& context)
516
{
517
lua_State* L = context.m_LuaState;
518
luaL_register(L,
"sprite"
, SPRITE_COMP_FUNCTIONS);
519
lua_pop(L, 1);
520
}
521
}
Callers
1
InitializeScriptLibs
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected