ConfigVariableBool

from panda3d.core import ConfigVariableBool
class ConfigVariableBool

Bases:

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_value bool

Returns the variable’s default value.

getDefaultValue() bool

Returns the variable’s default value.

getValue() bool

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.

size() int

Returns the number of unique words in the variable.

property value bool
Getter

Returns the variable’s value.

Setter

Reassigns the variable’s local value.