diff options
author | Porteries Tristan <republicthunderbolt9@gmail.com> | 2015-05-20 00:13:30 +0300 |
---|---|---|
committer | Porteries Tristan <republicthunderbolt9@gmail.com> | 2015-05-20 00:13:30 +0300 |
commit | a1e8547877ea4d2f289aab5ccc47c6260f43d1ee (patch) | |
tree | 88c269a2239d82c9133bf728e4fa25dc293ba4bf /doc/python_api | |
parent | 377822729cbf48d86d46f7efbae0c0e3fbeba99f (diff) |
BGE: Use CameCase code style for KX_WorldInfo python API.
Diffstat (limited to 'doc/python_api')
-rw-r--r-- | doc/python_api/rst/bge_types/bge.types.KX_WorldInfo.rst | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/python_api/rst/bge_types/bge.types.KX_WorldInfo.rst b/doc/python_api/rst/bge_types/bge.types.KX_WorldInfo.rst index ffc24b4e6c5..d6cb23c9e62 100644 --- a/doc/python_api/rst/bge_types/bge.types.KX_WorldInfo.rst +++ b/doc/python_api/rst/bge_types/bge.types.KX_WorldInfo.rst @@ -16,7 +16,7 @@ base class --- :class:`PyObjectPlus` sce = bge.logic.getCurrentScene() - sce.world.mist_color = [1.0, 0.0, 0.0] + sce.world.mistColor = [1.0, 0.0, 0.0] ********* Constants @@ -38,49 +38,49 @@ Constants Attributes ********** - .. attribute:: mist_enable + .. attribute:: mistEnable Return the state of the mist. :type: bool - .. attribute:: mist_start + .. attribute:: mistStart The mist start point. :type: float - .. attribute:: mist_distance + .. attribute:: mistDistance The mist distance fom the start point to reach 100% mist. :type: float - .. attribute:: mist_intensity + .. attribute:: mistIntensity The mist intensity. :type: float - .. attribute:: mist_type + .. attribute:: mistType The type of mist - must be KX_MIST_QUADRATIC, KX_MIST_LINEAR or KX_MIST_INV_QUADRATIC - .. attribute:: mist_color + .. attribute:: mistColor The color of the mist. Black = [0.0, 0.0, 0.0], White = [1.0, 1.0, 1.0]. Mist and background color sould always set to the same color. :type: :class:`mathutils.Vector` - .. attribute:: background_color + .. attribute:: backgroundColor The color of the background. Black = [0.0, 0.0, 0.0], White = [1.0, 1.0, 1.0]. Mist and background color sould always set to the same color. :type: :class:`mathutils.Vector` - .. attribute:: ambient_color + .. attribute:: ambientColor The color of the ambient light. Black = [0.0, 0.0, 0.0], White = [1.0, 1.0, 1.0]. |