direct.extensions_native.extension_native_helpers

import direct.extensions_native.extension_native_helpers
Dtool_ObjectToDict(cls, name, obj)[source]
Dtool_funcToMethod(func: Callable, cls, method_name: str | None = None) None[source]

Adds func to class so it is an accessible method; use method_name to specify the name to be used for calling the method. The new method is accessible to any instance immediately.