from panda3d.core import ConfigVariableBool
class ConfigVariableBool

Bases: ConfigVariable

This is a convenience class to specialize ConfigVariable as a boolean type.

Inheritance diagram

Inheritance diagram of ConfigVariableBool

__getitem__(n: int)bool
__init__(param0: ConfigVariableBool)
__init__(name: str)
__init__(name: str, default_value: bool, description: str, flags: int)
__init__(name: str, default_value: str, description: str, flags: int)
assign(value: bool)ConfigVariableBool
property default_valuebool

Returns the variable’s default value.


Returns the variable’s default value.


Returns the variable’s value.

getWord(n: int)bool

Returns the variable’s nth value.

setValue(value: bool)

Reassigns the variable’s local value.

setWord(n: int, value: bool)

Reassigns the variable’s nth value. This makes a local copy of the variable’s overall value.


Returns the number of unique words in the variable.

property valuebool

Returns the variable’s value.


Reassigns the variable’s local value.