Class: LoopConfig

LoopConfig

LoopConfig クラスで、MovieClipのフレームヘッダーの移動方法を指定できます。
一度限りの再生や逆再生、フレーム固定などのアニメーションのループバリエーションを設定できます。

The LoopConfig class allows you to specify how the frame headers of a MovieClip are moved.
You can set up looping variations of the animation, such as one-time playback,
reverse playback, or fixed frame.

new next2d.display.LoopConfig (type, start, end)

NameTypeDefaultDescription
typenumber0optional
startnumber1optional
endnumber0optional

Members

next2d.display.LoopConfig.namespace staticconstant

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

Default Value:
  • next2d.display.LoopConfig

end

フレーム移動の終了値を設定します。逆再生時はここで設定した値が開始フレームとなります。
Sets the end value of frame shift. For reverse playback,
the value set here is the start frame.

Default Value:
  • 0

frame readonly

ループ設定の適用を開始するフレームの値、自動で設定されます。
The value of the frame at which to start applying the loop setting, set automatically.

Default Value:
  • 1

namespace constant

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

Default Value:
  • next2d.display.LoopConfig

start

フレーム移動の開始値を設定します。逆再生時はここで設定した値が終了フレームとなります。
Sets the start value for frame shift. For reverse playback,
the value set here is the end frame.

Default Value:
  • 1

type

LoopTypeクラスの固定値を利用して、ループのタイプを設定できます。
You can set the type of loop by using a fixed value in the LoopType class.

Default Value:
  • 0

Methods

next2d.display.LoopConfig.toString ()string static

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

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

toString ()string

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

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