panda3d.core.PointerTo_Connection

class PointerTo_Connection

Bases: PointerToBase_Connection

Inheritance diagram

Inheritance diagram of PointerTo_Connection

__init__() → None
__init__(ptr: Connection) → None
__init__(copy: Connection) → None
__init__(param0: decltype_nullptr) → None
assign(ptr: Connection) → PointerTo_Connection
Return type

PointerTo_Connection

assign(copy: Connection) → PointerTo_Connection
Return type

PointerTo_Connection

clear() → None
isNull() → bool
p() → Connection

If your base class is a derivative of TypedObject, you might want to use the DCAST macro defined in typedObject.h instead, e.g. DCAST(MyType, ptr). This provides a clean downcast that doesn’t require .:meth:~PointerTo_Connection.p or any double-casting, and it can be run-time checked for correctness.

Return type

Connection