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.

get_default_value() bool

Returns the variable’s default value.

get_value() bool

Returns the variable’s value.

get_word(n: int) bool

Returns the variable’s nth value.

set_value(value: bool)

Reassigns the variable’s local value.

set_word(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.