omni::connect::core::executePythonIntMethod

Defined in omni/connect/core/Python.h

int omni::connect::core::executePythonIntMethod(carb::scripting::Object *instance, const std::string &method)

Given an instance of a python object, execute a method which returns an int.

Returns

The int result of the method or 0 if the method could not be executed.