diff options
author | Thomas Szepe <HG1_public@gmx.net> | 2015-03-23 23:36:08 +0300 |
---|---|---|
committer | Thomas Szepe <HG1_public@gmx.net> | 2015-03-23 23:36:08 +0300 |
commit | 2affbb437bd3cbf3e1a502bd65a5eefb64a92b9b (patch) | |
tree | 2403ce2b95eb97249251d24ca035d389864c307f /doc | |
parent | 38321faa8d111ec51ebdeb7f2e939062d5e080a1 (diff) |
BGE: Multitexture world (mist, ambient) fix
This patch fix the existing word API for mist and global ambient lighting.
Add deprecated message to disableMist()
Add setUseMist(enable).
Reviewers: dfelinto, campbellbarton, moguri
Reviewed By: moguri
Subscribers: solarlune, jta, brecht
Projects: #bf_blender:_next
Differential Revision: https://developer.blender.org/D148
Diffstat (limited to 'doc')
-rw-r--r-- | doc/python_api/rst/bge.render.rst | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/python_api/rst/bge.render.rst b/doc/python_api/rst/bge.render.rst index 77d5bd71761..3abbd50a453 100644 --- a/doc/python_api/rst/bge.render.rst +++ b/doc/python_api/rst/bge.render.rst @@ -198,9 +198,16 @@ Functions Disables mist. - .. note:: Set any of the mist properties to enable mist. + .. note:: Deprecated use setUseMist(). +.. function:: setUseMist(enable) + + Disable or enable the mist. + + :type enable: boolean + + .. function:: setEyeSeparation(eyesep) Sets the eye separation for stereo mode. Usually Focal Length/30 provides a confortable value. |