pymel.util.cacheProperty
-
cacheProperty(getter, attr_name, fdel=None, doc=None)
- a property type for getattr functions that only need to be called once per instance.
future calls to getattr for this property will return the previous non-null value.
attr_name is the name of an attribute in which to store the cached values