ConfigVariableString
from panda3d.core import ConfigVariableString
- class ConfigVariableString
Bases:
Bases:
ConfigVariable
This is a convenience class to specialize
ConfigVariable
as a string type.Inheritance diagram
- __init__(param0: ConfigVariableString)
- __init__(name: str)
- assign(value: str) ConfigVariableString
- c_str() str
These methods help the
ConfigVariableString
act like a C++ string object.
- property default_value string
Returns the variable’s default value.
- set_word(n: int, value: str)
Reassigns the variable’s nth value. This makes a local copy of the variable’s overall value.
- property value string
- Getter
Returns the variable’s value.
- Setter
Reassigns the variable’s local value.