csc.app.SettingsManager

class csc.app.SettingsManager

SettingsManager class provides methods to get various settings values.

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

get_bool_value(self, arg0)

Get the boolean value of the specified key

get_color_value(self, arg0)

Get the color value of the specified key

get_float_value(self, arg0)

Get the float value of the specified key

__annotations__ = {}
__init__(*args, **kwargs)
__module__ = 'csc.app'
get_bool_value(self: csc.app.SettingsManager, arg0: str) bool

Get the boolean value of the specified key

Parameters:

arg0 (str) – The key to get the boolean value from

Returns:

The boolean value of the specified key

Return type:

bool

get_color_value(self: csc.app.SettingsManager, arg0: str) numpy.ndarray[numpy.float32[3, 1]]

Get the color value of the specified key

Parameters:

arg0 (str) – The key to get the color value from

Returns:

The color value of the specified key

Return type:

Tuple[float, float, float]

get_float_value(self: csc.app.SettingsManager, arg0: str) float

Get the float value of the specified key

Parameters:

key (str) – The key to get the float value from

Returns:

The float value of the specified key

Return type:

float