Get the latest Blender, older versions, or experimental builds.
Stay up-to-date with the new features in the latest Blender releases.
Access production assets and knowledge from the open movies.
Documentation on the usage and features in Blender.
Latest development updates, by Blender developers.
Guidelines, release notes and development docs.
A platform to collect and share results of the Blender Benchmark.
The yearly event that brings the community together.
Support core development with a monthly contribution.
Perform a single donation with more payment options available.
# $Id$
# Documentation for CD Actuator
from SCA_IActuator import *
class KX_CDActuator(SCA_IActuator):
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)