diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-04-25 00:27:04 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-04-25 00:27:04 +0400 |
commit | 0c482f76071ff0f48f1b469f9b5173ee7b067add (patch) | |
tree | fc5b332d2d7e161f01451432e93283e1c900cb05 /source/gameengine/PyDoc/Rasterizer.py | |
parent | 6b48e25ba4c758d12620a4fe342101e079714ec3 (diff) |
BGE API - small changes
- print CListValue errors only once.
- bge_api_validate_py.txt now validates modules as well as types.
- added missing functions and consts for epydoc modules. some of these in GameLogic.py still need sorting.
Diffstat (limited to 'source/gameengine/PyDoc/Rasterizer.py')
-rw-r--r-- | source/gameengine/PyDoc/Rasterizer.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/source/gameengine/PyDoc/Rasterizer.py b/source/gameengine/PyDoc/Rasterizer.py index fdd53c27898..25877364836 100644 --- a/source/gameengine/PyDoc/Rasterizer.py +++ b/source/gameengine/PyDoc/Rasterizer.py @@ -148,6 +148,13 @@ def setMistColor(rgb): @type rgb: list [r, g, b] """ + +def setAmbientColor(rgb): + """ + Sets the color of ambient light. + + @type rgb: list [r, g, b] + """ def setMistStart(start): """ @@ -164,6 +171,13 @@ def setMistEnd(end): @type end: float """ +def disableMist(): + """ + Disables mist. + + @note: Set any of the mist properties to enable mist. + """ + def setEyeSeparation(eyesep): """ Sets the eye separation for stereo mode. @@ -237,3 +251,15 @@ def drawLine(fromVec,toVec,color): @type color: list [r, g, b] """ +def enableMotionBlur(factor): + """ + Enable the motion blue effect. + + @param factor: the ammount of motion blur to display. + @type factor: float [0.0 - 1.0] + """ + +def disableMotionBlur(): + """ + Disable the motion blue effect. + """ |