osg.NodeCallback¶
- class osg.NodeCallback¶
- Represents:
c++ class
- Wraps:
osg::NodeCallback
- Bases:
Constructors:
- osg.NodeCallback(luafunction__ f)¶
-
- Параметры:
f (
luafunction) – Lua function that acceptsosg.Nodeandosg.NodeVisitorand must returnboolvalue. Returningfalsestops traversal. Returningnilis forbidden!. NOTE: in versions prior to 3.3 function returnsniland traversal continues anyway.
Methods:
- :run(osg.Object object, osg.Object data)¶
-
- Параметры:
object (
osg.Object) –data (
osg.Object) –
- Тип результата:
bool
- :call(osg.Node node, osg.NodeVisitor nv)¶
-
- Параметры:
node (
osg.Node) –nv (
osg.NodeVisitor) –