@@ -31,26 +31,27 @@ Global built-ins
3131Global built-ins are available everywhere, including in custom functions.
3232
3333
34- +---------------------------------+-----------------------------------------------------------------------------------------+
35- | Built-in | Description |
36- +=================================+=========================================================================================+
37- | in float **TIME ** | Global time since the engine has started, in seconds. It repeats after every ``3,600 `` |
38- | | seconds (which can be changed with the |
39- | | :ref:`rollover<class_ProjectSettings_property_rendering/limits/time/time_rollover_secs>`|
40- | | setting). It's not affected by :ref: `time_scale<class_Engine_property_time_scale> ` or |
41- | | pausing. If you need a ``TIME `` variable that can be scaled or paused, add your own |
42- | | :ref: `global shader uniform<doc_shading_language_global_uniforms> ` and update it each |
43- | | frame. |
44- +---------------------------------+-----------------------------------------------------------------------------------------+
45- | in float **PI ** | A ``PI `` constant (``3.141592 ``). |
46- | | A ratio of a circle's circumference to its diameter and amount of radians in half turn. |
47- +---------------------------------+-----------------------------------------------------------------------------------------+
48- | in float **TAU ** | A ``TAU `` constant (``6.283185 ``). |
49- | | An equivalent of ``PI * 2 `` and amount of radians in full turn. |
50- +---------------------------------+-----------------------------------------------------------------------------------------+
51- | in float **E ** | An ``E `` constant (``2.718281 ``). |
52- | | Euler's number and a base of the natural logarithm. |
53- +---------------------------------+-----------------------------------------------------------------------------------------+
34+ +-----------------------------------+------------------------------------------------------------------------------------------+
35+ | Built-in | Description |
36+ +===================================+==========================================================================================+
37+ | in float **TIME ** | Global time since the engine has started, in seconds. It repeats after every ``3,600 `` |
38+ | | seconds (which can be changed with the |
39+ | | :ref: `rollover<class_ProjectSettings_property_rendering/limits/time/time_rollover_secs> ` |
40+ | | setting). It's affected by |
41+ | | :ref: `time_scale<class_Engine_property_time_scale> ` but not by pausing. If you need a |
42+ | | ``TIME `` variable that is not affected by time scale, add your own |
43+ | | :ref: `global shader uniform<doc_shading_language_global_uniforms> ` and update it each |
44+ | | frame. |
45+ +-----------------------------------+------------------------------------------------------------------------------------------+
46+ | in float **PI ** | A ``PI `` constant (``3.141592 ``). |
47+ | | A ratio of a circle's circumference to its diameter and amount of radians in half turn. |
48+ +-----------------------------------+------------------------------------------------------------------------------------------+
49+ | in float **TAU ** | A ``TAU `` constant (``6.283185 ``). |
50+ | | An equivalent of ``PI * 2 `` and amount of radians in full turn. |
51+ +-----------------------------------+------------------------------------------------------------------------------------------+
52+ | in float **E ** | An ``E `` constant (``2.718281 ``). |
53+ | | Euler's number and a base of the natural logarithm. |
54+ +-----------------------------------+------------------------------------------------------------------------------------------+
5455
5556Fog built-ins
5657^^^^^^^^^^^^^
0 commit comments