|
Panda3D
|
Public Member Functions | |
| def | __init__ |
| def | __repr__ |
| def | applyTo |
| def | extractFrom |
| def | getDefaultValue |
| def | getParams |
| def | getValue |
Public Attributes | |
| paramVals | |
Static Public Attributes | |
| dictionary | Params |
| def __init__ | ( | self, | |
| args, | |||
| kwArgs | |||
| ) |
| def __repr__ | ( | self | ) |
| def applyTo | ( | self, | |
| obj | |||
| ) |
| def extractFrom | ( | self, | |
| obj | |||
| ) |
| def getDefaultValue | ( | cls, | |
| param | |||
| ) |
| def getParams | ( | cls | ) |
| def getValue | ( | self, | |
| param | |||
| ) |
dictionary Params [static] |
{
# base class does not define any parameters, but they would
# appear here as 'name': defaultValue,
#
# WARNING: default values of mutable types that do not copy by
# value (dicts, lists etc.) will be shared by all class instances
# if default value is callable, it will be called to get actual
# default value
#
# for example:
#
# class MapArea(ParamObj):
# class ParamSet(ParamObj.ParamSet):
# Params = {
# 'spawnIndices': Functor(list, [1,5,22]),
# }
#
}
Reimplemented in ParamObjTest.ParamSet.
1.7.3