ConfigVariableDouble

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

__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_valuefloat

Returns the variable’s default value.

getDefaultValue()float

Returns the variable’s default value.

getValue()float

Returns the variable’s value.

getWord(n: int)float

Returns the variable’s nth value.

setValue(value: float)None

Reassigns the variable’s local value.

setWord(n: int, value: float)None

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 valuefloat
Getter

Returns the variable’s value.

Setter

Reassigns the variable’s local value.