frameRate
The frame rate of the clip or URL in frames/second. (Read Only)
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine.Video
- Assembly: UnityEngine.VideoModule
public float frameRate { get; }
Remarks
For URL sources, this is only set once the source preparation is completed. See VideoPlayer.Prepare. This property is most accurate after the video does a complete playthrough.
Note: On WebGL, the frame rate is always set to 24FPS because the underlying implementation, the javascript API for HTML5 \<video\>, does not expose frame rate information.