LuaScriptNode¶
-
class
guerilla.
LuaScriptNode
¶ Bases:
guerilla.SceneGraphNode
This node is used to embed Lua event handlers in a scene
The Lua Script contained in the node is executed whenthe specified Event is triggered by Guerilla. This allows implementing scene specific behaviors. See also the event package to register global event handlers in scripts and plugins.
-
Event
¶ The event this node handles
Type: str
-
Script
¶ The Lua script event handler to execute
Type: str
-