Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


frameRate

The frame rate of the clip or URL in frames/second. (Read Only)
Read time 1 minuteLast updated 10 days ago

Definition

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.