Panda3D
|
Public Member Functions | |
__init__ (self) | |
getConcreteProperties (self) | |
Python objects that inherit from this class are passed to JavaScript as a concrete struct: a mapping from string -> value, with no methods, passed by value. This can be more optimal than traditional Python objects which are passed by reference, especially for small objects which might be repeatedly referenced on the JavaScript side.
__init__ | ( | self | ) |
getConcreteProperties | ( | self | ) |
Returns a list of 2-tuples of the (key, value) pairs that are to be passed to the concrete instance. By default, this returns all properties of the object. You can override this to restrict the set of properties that are uploaded.