~diresu/blender/blender-command-port

« back to all changes in this revision

Viewing changes to source/gameengine/PyDoc/KX_SoundActuator.py

  • Committer: Dietrich Bollmann
  • Date: 2009-04-26 06:25:14 UTC
  • mfrom: (184.1.520)
  • Revision ID: diresu@web.de-20090426062514-ly27wepl1t5d7p8s
Update to state of blender repository from 2009-04-26 revision 19927.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# $Id: KX_SoundActuator.py 19629 2009-04-09 21:15:44Z ben2610 $
 
1
# $Id: KX_SoundActuator.py 19916 2009-04-24 07:45:17Z campbellbarton $
2
2
# Documentation for KX_SoundActuator
3
3
from SCA_IActuator import *
4
4
 
36
36
        @type orientation: 3x3 matrix [[float]]
37
37
        
38
38
        @ivar type: Sets the operation mode of the actuator. You can use one of the following constant:
39
 
                    KX_SOUNDACT_PLAYSTOP               (1)
40
 
                            KX_SOUNDACT_PLAYEND                (2)
41
 
                            KX_SOUNDACT_LOOPSTOP               (3)
42
 
                            KX_SOUNDACT_LOOPEND                (4)
43
 
                            KX_SOUNDACT_LOOPBIDIRECTIONAL      (5)
44
 
                            KX_SOUNDACT_LOOPBIDIRECTIONAL_STOP (6)
 
39
                                - KX_SOUNDACT_PLAYSTOP               (1)
 
40
                                - KX_SOUNDACT_PLAYEND                (2)
 
41
                                - KX_SOUNDACT_LOOPSTOP               (3)
 
42
                                - KX_SOUNDACT_LOOPEND                (4)
 
43
                                - KX_SOUNDACT_LOOPBIDIRECTIONAL      (5)
 
44
                                - KX_SOUNDACT_LOOPBIDIRECTIONAL_STOP (6)
45
45
        @type type:     integer
46
46
        
47
 
        @group Play Methods: startSound, pauseSound, stopSound.
 
47
        @group Play Methods: startSound, pauseSound, stopSound
48
48
        """
49
49
        def setFilename(filename):
50
50
                """
51
51
                DEPRECATED: Use the filename property instead.
52
 
        Sets the filename of the sound this actuator plays.
 
52
                Sets the filename of the sound this actuator plays.
53
53
                
54
54
                @type filename: string
55
55
                """