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-12-29 04:33:15 +0300
committerKester Maddock <Christopher.Maddock.1@uni.massey.ac.nz>2004-12-29 04:33:15 +0300
commitc82614be2eb04dcca48d705e013ffa86058bceaf (patch)
tree2a29da40ce5a7212c3980073c1aaf36105b5ab40 /source/gameengine/PyDoc
parent52c53bc2c9be8c367b94c3a5d7f55b4ff4fa316b (diff)
Python methods for camera actuators (thanks snailrose)
Diffstat (limited to 'source/gameengine/PyDoc')
-rw-r--r--source/gameengine/PyDoc/KX_CameraActuator.py77
1 files changed, 76 insertions, 1 deletions
diff --git a/source/gameengine/PyDoc/KX_CameraActuator.py b/source/gameengine/PyDoc/KX_CameraActuator.py
index 236befdb1f6..032fc7338ac 100644
--- a/source/gameengine/PyDoc/KX_CameraActuator.py
+++ b/source/gameengine/PyDoc/KX_CameraActuator.py
@@ -6,6 +6,81 @@ class KX_CameraActuator(SCA_IActuator):
"""
Applies changes to a camera.
- This actuator has no python methods.
+ @author: snail
"""
+ def getObject():
+ """
+ Returns the name of the object this actuator tracks.
+
+ rtype: string
+ """
+
+ def setObject(target):
+ """
+ Sets the object this actuator tracks.
+
+ @param target: the object to track.
+ @type target: string or L{KX_GameObject}
+ """
+
+ def getMin():
+ """
+ Returns the minimum distance to target maintained by the actuator.
+
+ @rtype: float
+ """
+
+ def setMin(distance):
+ """
+ Sets the minimum distance to the target object maintained by the
+ actuator.
+
+ @param distance: The minimum distance to maintain.
+ @type distance: float
+ """
+
+ def getMax():
+ """
+ Gets the maximum distance to stay from the target object.
+
+ @rtype: float
+ """
+
+ def setMax(distance):
+ """
+ Sets the maximum distance to stay from the target object.
+
+ @param distance: The maximum distance to maintain.
+ @type distance: float
+ """
+
+ def getHeight():
+ """
+ Returns the height to stay above the target object.
+
+ @rtype: float
+ """
+
+ def setHeight(height):
+ """
+ Sets the height to stay above the target object.
+
+ @type height: float
+ @param height: The height to stay above the target object.
+ """
+
+ def setXY(xaxis):
+ """
+ Sets the axis to get behind.
+
+ @param xaxis: False to track Y axis, True to track X axis.
+ @type xaxis: boolean
+ """
+ def getXY():
+ """
+ Returns the axis this actuator is tracking.
+
+ @return: True if tracking X axis, False if tracking Y axis.
+ @rtype: boolean
+ """