osg.Switch¶
-
class
osg.
Switch
¶ Represents: c++ class Wraps: osg::Switch Bases: osg.Group
Constructors:
-
osg.
Switch
()¶
Methods:
-
:
insertChild
(unsigned index, osg.Node node)¶ -
Параметры: - index (
unsigned
) – - node (
osg.Node
) –
Тип результата: bool
- index (
-
:
insertChild
(unsigned index, osg.Node node, bool val) -
Параметры: - index (
unsigned
) – - node (
osg.Node
) – - val (
bool
) –
Тип результата: bool
- index (
-
:
removeChildren
(unsigned pos, unsigned count)¶ -
Параметры: - pos (
unsigned
) – - count (
unsigned
) –
Тип результата: bool
- pos (
-
:
setValue
(unsigned index, bool val)¶ -
Параметры: - index (
unsigned
) – - val (
bool
) –
- index (
-
:
getValue
(unsigned index)¶ -
Параметры: index ( unsigned
) –Тип результата: bool
-
:
setAllChildrenOff
()¶ -
Тип результата: bool
-
:
setAllChildrenOn
()¶ -
Тип результата: bool
-
:
setSingleChildOn
(unsigned pos)¶ -
Параметры: pos ( unsigned
) –Тип результата: bool
-