Class: SoundTransform

SoundTransform

SoundTransform クラスにはボリュームとループのプロパティが含まれます。

The SoundTransform class contains properties for volume and loop.

new next2d.media.SoundTransform (volume, loop)

NameTypeDefaultDescription
volumenumber1optional
loopbooleanfalseoptional

Members

next2d.media.SoundTransform.namespace staticconstant

指定されたクラスの空間名を返します。
Returns the space name of the specified class.

Default Value:
  • next2d.media.SoundTransform

loop boolean

ループ設定です。
loop setting.

Default Value:
  • false

namespace constant

指定されたオブジェクトの空間名を返します。
Returns the space name of the specified object.

Default Value:
  • next2d.media.SoundTransform

volume number

ボリュームです。範囲は 0(無音)~ 1(フルボリューム)です。
The volume, ranging from 0 (silent) to 1 (full volume).

Default Value:
  • 1

Methods

next2d.media.SoundTransform.toString ()string static

指定されたクラスのストリングを返します。
Returns the string representation of the specified class.

Default Value:
  • [class SoundTransform]
Returns:
TypeDescription
string

toString ()string

指定されたオブジェクトのストリングを返します。
Returns the string representation of the specified object.

Default Value:
  • [object SoundTransform]
Returns:
TypeDescription
string