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
diff options
context:
space:
mode:
authorKester Maddock <Christopher.Maddock.1@uni.massey.ac.nz>2004-05-24 11:49:50 +0400
committerKester Maddock <Christopher.Maddock.1@uni.massey.ac.nz>2004-05-24 11:49:50 +0400
commita96955efc2c8ecc4de7b42ea717c3e287dad05cb (patch)
tree4154dc0f6850d1e942dbae8647966fb49ff17cd5 /source/gameengine/PyDoc/Rasterizer.py
parent86899e7a22a3143ff8ecf2f3a7d65104ac6fa0b8 (diff)
Game Python Reference Manual.
This manual lists all the Python classes and modules for Game Objects, Sensor bricks, Controllers etc. Missing: Actuator & Controller reference.
Diffstat (limited to 'source/gameengine/PyDoc/Rasterizer.py')
-rw-r--r--source/gameengine/PyDoc/Rasterizer.py74
1 files changed, 74 insertions, 0 deletions
diff --git a/source/gameengine/PyDoc/Rasterizer.py b/source/gameengine/PyDoc/Rasterizer.py
new file mode 100644
index 00000000000..1dd64a996a2
--- /dev/null
+++ b/source/gameengine/PyDoc/Rasterizer.py
@@ -0,0 +1,74 @@
+"""
+Documentation for the Rasterizer module.
+
+Usage:
+import Rasterizer
+"""
+
+def getWindowWidth():
+ """
+ Gets the width of the window (in pixels)
+
+ @rtype: integer
+ """
+def getWindowHeight():
+ """
+ Gets the height of the window (in pixels)
+
+ @rtype: integer
+ """
+def makeScreenshot(filename):
+ """
+ Writes a screenshot to the given filename.
+
+ @type filename: string
+ """
+
+def enableVisibility(visible):
+ """
+ Doesn't really do anything...
+ """
+
+def showMouse(visible):
+ """
+ Enables or disables the operating system mouse cursor.
+
+ @type visible: boolean
+ """
+
+def setMousePosition(x, y):
+ """
+ Sets the mouse cursor position.
+
+ @type x, y: integer
+ """
+
+def setBackgroundColor(rgba):
+ """
+ Sets the window background colour.
+
+ @type rgba: list [r, g, b, a]
+ """
+
+def setMistColor(rgb):
+ """
+ Sets the mist colour.
+
+ @type rgb: list [r, g, b]
+ """
+
+def setMistStart(start):
+ """
+ Sets the mist start value. Objects further away than start will have mist applied to them.
+
+ @type start: float
+ """
+
+def setMistEnd(end):
+ """
+ Sets the mist end value. Objects further away from this will be coloured solid with
+ the colour set by setMistColor().
+
+ @type end: float
+ """
+