Trees | Indices | Help |
---|
|
This object gives access to Sounds in Blender.
|
|||
string |
|
||
string |
|
||
None |
|
||
None |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
none |
|
||
none |
|
|
|||
bool |
fakeUser When set to True, this datablock wont be removed, even if nothing is using it. |
||
filename The filename (path) to the sound file loaded into this Sound |
|||
string or None |
lib path to the blend file this datablock is stored in (readonly). |
||
string |
name unique name within each blend file. |
||
packed Boolean, True when the sample is packed (readonly). |
|||
IDGroup |
properties Returns an IDGroup reference to this datablocks's ID Properties. |
||
bool |
tag A temporary tag that to flag data as being used within a loop. |
||
int |
users The number of users this datablock has. |
|
Get this sound's volume. rtype: float |
Set this sound's volume.
|
Get this sound's attenuation value. rtype: float |
Set this sound's attenuation.
|
Get this sound's pitch value. rtype: float |
Set this sound's pitch.
|
Packs the sound into the current blend file.
Note: An error will be raised if the sound is already packed or the filename path does not exist. |
Unpacks the sound to the samples filename.
Note: An error will be raised if the sound is not packed or the filename path does not exist. |
|
fakeUserWhen set to True, this datablock wont be removed, even if nothing is using it. All data has this disabled by default except for Actions.
|
libpath to the blend file this datablock is stored in (readonly).lib will be None unless you are using external blend files with (File, Append/Link) Note: the path may be relative, to get the full path use Blender.sys.expandpath
|
nameunique name within each blend file.The name is case sensitive and 21 characters maximum length. Note: a blend file may have naming collisions when external library data is used, be sure to check the value of lib. Note: Setting a value longer then 21 characters will be shortened
|
tagA temporary tag that to flag data as being used within a loop. always set all tags to True or False before using since blender uses this flag for its own internal operations.
|
usersThe number of users this datablock has. (readonly) Zero user datablocks are de-allocated after reloading and saving.
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Oct 24 10:23:52 2008 | http://epydoc.sourceforge.net |