Welcome to mirror list, hosted at ThFree Co, Russian Federation.

bge.app.rst « rst « python_api « doc - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 34b9263db0c3f93b5be45332c93705c50dbd11b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50

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:: has_texture_ffmpeg

   True if the BGE has been built with FFmpeg support,
   enabling use of :class:`~bge.texture.ImageFFmpeg` and :class:`~bge.texture.VideoFFmpeg`.

   :type: bool

.. data:: has_joystick

   True if the BGE has been built with joystick support.

   :type: bool

.. data:: has_physics

   True if the BGE has been built with physics support.

   :type: bool