サウンドオブジェクトの操作に使用する。
xshade |
↑ |
shape |
↑ |
sound_track |
play | サウンドを再生する |
stop | 再生中のサウンドを停止する |
is_playing | サウンドが再生中かどうか |
range | 範囲のオン/オフ |
repetition | 繰り返し |
sound3d | 3Dサウンドのオン/オフ |
value | 音量 |
is_playing
サウンドが再生中かどうか。
型 :
bool
print xshade.scene().active_shape().is_playing
range
範囲のオン/オフ。
型 :
bool
print xshade.scene().active_shape().sound_track.range
repetition
繰り返し。
型 :
int : 0で自動
print xshade.scene().active_shape().sound_track.repetition
sound3d
3Dサウンドのオン/オフ。
型 :
bool
print xshade.scene().active_shape().sound_track.sound3d
value
音量。
型 :
float
print xshade.scene().active_shape().sound_track.value