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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorThomas Szepe <HG1_public@gmx.net>2015-03-24 02:27:45 +0300
committerThomas Szepe <HG1_public@gmx.net>2015-03-24 02:27:45 +0300
commitee579684617c1a9868b2c75cfb5d32efe26c1198 (patch)
treec09620e5c90a67a4ad7aa4ed5c71ad906418d86b /doc
parentfd22a92939dc937216f50d1350a63de872e0a6be (diff)
BGE: Remove old world bge.render API
This patch can be used to remove the old world bge.render API if the new world API D157 is used. If the new world API is applied we can remove the old API because the old has newer worked. The patch keep the two old working methods for backward compatibility. Reviewers: campbellbarton, moguri Reviewed By: campbellbarton, moguri Subscribers: brecht Differential Revision: https://developer.blender.org/D158
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/rst/bge.render.rst70
1 files changed, 0 insertions, 70 deletions
diff --git a/doc/python_api/rst/bge.render.rst b/doc/python_api/rst/bge.render.rst
index 2d47244bf7a..d185a5d05aa 100644
--- a/doc/python_api/rst/bge.render.rst
+++ b/doc/python_api/rst/bge.render.rst
@@ -87,18 +87,6 @@ Constants
Right eye being used during stereoscopic rendering.
-.. data:: KX_MIST_QUADRATIC
-
- Type of quadratic attenuation used to fade mist. (Deprecated: use KX_WorldInfo.KX_MIST_QUADRATIC)
-
-.. data:: KX_MIST_LINEAR
-
- Type of linear attenuation used to fade mist. (Deprecated: use KX_WorldInfo.KX_MIST_LINEAR)
-
-.. data:: KX_MIST_INV_QUADRATIC
-
- Type of inverse quadratic attenuation used to fade mist. (Deprecated: use KX_WorldInfo.KX_MIST_INV_QUADRATIC)
-
*********
Functions
@@ -178,64 +166,6 @@ Functions
:type rgba: list [r, g, b, a]
-.. function:: setAmbientColor(rgb)
-
- Sets the color of ambient light. (Deprecated: use KX_WorldInfo.ambient_color)
-
- :type rgb: list [r, g, b]
-
-
-.. function:: setMistColor(rgb)
-
- Sets the mist color. (Deprecated: use KX_WorldInfo.mist_color)
-
- :type rgb: list [r, g, b]
-
-
-.. function:: setMistType(mode)
-
- Sets the mist attenuation type. (Deprecated: use KX_WorldInfo.mist_type)
-
- :type mode: KX_MIST_QUADRATIC, KX_MIST_LINEAR, KX_MIST_INV_QUADRATIC
-
-
-.. function:: setMistStart(start)
-
- Sets the mist start value. Objects further away than start will have mist applied to them.
- (Deprecated: use KX_WorldInfo.mist_start)
-
- :type start: float
-
-
-.. function:: setMistEnd(end)
-
- Sets the mist end value. Objects further away from this will be colored solid with
- the color set by setMistColor(). (Deprecated: use KX_WorldInfo.mist_distance)
-
- :type end: float
-
-
-.. function:: setMistIntensity(intensity)
-
- Sets the mist intensity value. (Deprecated: use KX_WorldInfo.mist_intensity)
-
- :type start: float
-
-.. function:: disableMist()
-
-
- Disables mist.
-
- .. note:: Deprecated: use KX_WorldInfo.mist_enable.
-
-
-.. function:: setUseMist(enable)
-
- Disable or enable the mist. (Deprecated: use KX_WorldInfo.mist_enable)
-
- :type enable: boolean
-
-
.. function:: setEyeSeparation(eyesep)
Sets the eye separation for stereo mode. Usually Focal Length/30 provides a confortable value.