Changeset View
Changeset View
Standalone View
Standalone View
doc/python_api/rst/bge.logic.rst
| Context not available. | |||||
| .. function:: getProfileInfo() | .. function:: getProfileInfo() | ||||
| Returns a Python dictionary that contains the same information as the on screen profiler. The keys are the profiler categories and the values are tuples with the first element being time taken (in ms) and the second element being the percentage of total time. | Returns a Python dictionary that contains the same information as the on screen profiler. The keys are the profiler categories and the values are tuples with the first element being time taken (in ms) and the second element being the percentage of total time. | ||||
| .. function:: getBlenderVersion() | |||||
| Gets Blender's version. | |||||
| :return: A tuple of format (major, minor[, subversion]). | |||||
| :rtype: tuple of integers | |||||
| .. note:: Version tuples can be compared simply with (in)equality symbols; for example, ``(2, 74, 5) <= (2, 75)`` returns True. | |||||
| ********* | ********* | ||||
| Constants | Constants | ||||
| ********* | ********* | ||||
| Context not available. | |||||