MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / SetSceneNodeUseTransform

Method SetSceneNodeUseTransform

src/lua/LuaSceneNode.cpp:509–516  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

507
508
509int LuaSceneNodeMgr::SetSceneNodeUseTransform(lua_State* L) {
510 LuaSceneNode* sceneNode = CheckLuaSceneNode(L, 1);
511 if (sceneNode) {
512 sceneNode->renderNode.useTransform = lua_tobool(L, 2);
513 }
514 lua_settop(L, 1);
515 return 1;
516}
517
518
519int LuaSceneNodeMgr::SetSceneNodeTracking(lua_State* L) {

Callers

nothing calls this directly

Calls 3

CheckLuaSceneNodeFunction · 0.85
lua_toboolFunction · 0.85
lua_settopFunction · 0.50

Tested by

no test coverage detected