blender/source/gameengine/PyDoc/KX_CDActuator.py
Kester Maddock d38329b5aa Added Python module for Lights.
Added attributes to the vertex class.
2004-05-30 11:09:46 +00:00

33 lines
565 B
Python

# $Id$
# Documentation for CD Actuator
from SCA_ILogicBrick import *
class KX_CDActuator(SCA_ILogicBrick):
def startCD():
"""
Starts the CD playing.
"""
def stopCD():
"""
Stops the CD playing.
"""
def pauseCD():
"""
Pauses the CD.
"""
def setGain(gain):
"""
Sets the gain (volume) of the CD.
@type gain: float
@param gain: the gain to set the CD to. 0.0 = silent, 1.0 = max volume.
"""
def getGain():
"""
Gets the current gain (volume) of the CD.
@rtype float
@return Between 0.0 (silent) and 1.0 (max volume)
"""