Panda3D
Public Member Functions

ConcreteStruct Class Reference

List of all members.

Public Member Functions

def __init__
def getConcreteProperties

Detailed Description

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. 

Constructor & Destructor Documentation

def __init__ (   self)

Member Function Documentation

def 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. 
 All Classes Namespaces Functions Variables Properties