Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes | Static Public Attributes

# ParamObj.ParamSet Class Reference

Inheritance diagram for ParamObj.ParamSet:

List of all members.

## 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

## Constructor & Destructor Documentation

def __init__ | ( |  | self,
|  |  | args,
|  |  | kwArgs
| ) |  |

## Member Function Documentation

def __repr__ | ( |  | self | ) |

def applyTo | ( |  | self,
|  |  | obj
| ) |  |

def extractFrom | ( |  | self,
|  |  | obj
| ) |  |

def getDefaultValue | ( |  | cls,
|  |  | param
| ) |  |

def getParams | ( |  | cls | ) |

def getValue | ( |  | self,
|  |  | param
| ) |  |

## Member Data Documentation

dictionary Params`[static]`

Initial value:

    {
                # 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.

paramVals

All Classes Namespaces Functions Variables Enumerations Enumerator Properties