frame
The frame index of the currently available frame in VideoPlayer.texture.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: UnityEngine.Video
- Assembly: UnityEngine.VideoModule
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.