VideoOverlay.setSegmentLoop

機能/意味
Setting the loop between frames
タイプ
VideoOverlayクラスのメソッド
構文
setSegmentLoop(comeFrame, goFrame)
引数
comeFrame  Loop destination frame (start frame of loop). When playback reaches the goFrame, the playhead moves to this frame.
goFrame  Loop end frame (end frame of loop). When the display of the frame before this frame ends, the playhead moves to comeFrame.
戻り値
なし (void)
説明
Performs loop processing between specified frames.
At the end of the loop (goFrame), an onPeriod event occurs.
It is necessary to set a key frame in the movie file for the comeFrame frame.
If not set, the playback position will move to the key frame closest to the specified frame when moving from the loop end point to the start point.
参照
VideoOverlay.cancelSegmentLoop
VideoOverlay.onPeriod
VideoOverlay.segmentLoopStartFrame
VideoOverlay.segmentLoopEndFrame