Changeset View
Changeset View
Standalone View
Standalone View
doc/python_api/rst/bge.app.rst
- This file was added.
| Application Data (bge.app) | |||||
| ========================== | |||||
| Module to access application values that remain unchanged during runtime. | |||||
| .. module:: bge.app | |||||
| .. data:: version | |||||
| The Blender/BGE version as a tuple of 3 ints, eg. (2, 75, 1). | |||||
| .. note:: Version tuples can be compared simply with (in)equality symbols; | |||||
| for example, ``(2, 74, 5) <= (2, 75, 0)`` returns True (lexical order). | |||||
| :type: tuple of three ints | |||||
| .. data:: version_string | |||||
| The Blender/BGE version formatted as a string, eg. "2.75 (sub 1)". | |||||
| :type: str | |||||
| .. data:: version_char | |||||
| The Blender/BGE version character (for minor releases). | |||||
| :type: str | |||||
| .. data:: version_cycle | |||||
| The release status of this build. | |||||
| :type: str in {"alpha", "beta", "rc", "release"} | |||||
campbellbarton: Is this really needed? | |||||
Not Done Inline ActionsNo strong opinion, I can delete it if you wish. I first thought it would be a convenient way to check for release status, which is maybe not that useful? Matpi: No strong opinion, I can delete it if you wish. I first thought it would be a convenient way to… | |||||
| .. data:: ffmpeg | |||||
| True if the BGE has been built with FFmpeg support. | |||||
| :type: bool | |||||
| .. data:: sdl | |||||
| True if the BGE has been built with SDL support. | |||||
| :type: bool | |||||
| .. data:: bullet | |||||
| True if the BGE has been built with Bullet support. | |||||
| :type: bool | |||||
Is this really needed?