from panda3d.core import ConfigVariableDouble
class ConfigVariableDouble


Bases: ConfigVariable

This is a convenience class to specialize ConfigVariable as a floating- point type.

Inheritance diagram

Inheritance diagram of ConfigVariableDouble

__bool__() bool

Returns true if the variable is not 0.0.

__getitem__(n: int) float
__init__(param0: ConfigVariableDouble)
__init__(name: str)
__init__(name: str, default_value: float, description: str, flags: int)
__init__(name: str, default_value: str, description: str, flags: int)
assign(value: float) ConfigVariableDouble
property default_value float

Returns the variable’s default value.

get_default_value() float

Returns the variable’s default value.

get_value() float

Returns the variable’s value.

get_word(n: int) float

Returns the variable’s nth value.

set_value(value: float)

Reassigns the variable’s local value.

set_word(n: int, value: float)

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 float

Returns the variable’s value.


Reassigns the variable’s local value.