sound track

サウンドオブジェクトの操作に使用する。


xshade
shape
sound_track

メソッド一覧

play サウンドを再生する
stop 再生中のサウンドを停止する

プロパティ一覧

is_playing サウンドが再生中かどうか
range 範囲のオン/オフ
repetition 繰り返し
sound3d 3Dサウンドのオン/オフ
value 音量




メソッド詳細

play

サウンドを再生する。

参照 :
  stop

xshade.scene().active_shape().sound_track.play()

stop

再生中のサウンドを停止する。

  • 取得
  • 設定

参照 :
  play

xshade.scene().active_shape().sound_track.stop()

プロパティ詳細

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