ドキュメント

Unity Engine

Unity Engine

frame

The frame index of the currently available frame in VideoPlayer.texture.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public long frame { get; set; }

Remarks

The frame index is 0 for the first frame of the clip, 1 for the second frame, and so on. A frame index of -1 indicates that no valid frame is available.
Note: On WebGL, because the frame rate is not known, the frame index assumes a rate of 24FPS. See VideoPlayer.frameRate.