from panda3d.core import TypedReferenceCount
class TypedReferenceCount

Bases: TypedObject, ReferenceCount

A base class for things which need to inherit from both TypedObject and from ReferenceCount. It’s convenient to define this intermediate base class instead of multiply inheriting from the two classes each time they are needed, so that we can sensibly pass around pointers to things which are both TypedObjects and ReferenceCounters.

See also TypedObject for detailed instructions.

Inheritance diagram

Inheritance diagram of TypedReferenceCount

static getClassType()TypeHandle