Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


frameRate

Frames per second.
Read time 1 minuteLast updated 12 days ago

Definition

public MediaRational frameRate

Remarks

Expressed as a fraction so that rates such as 29.97 (precisely 30000/1001) are represented accurately.
Note
Specifying a 0 or invalid rate (see MediaRational.isValid) indicates the video track uses Variable Frame Rate (VFR). In this mode of operation, because there is no pre-defined frame duration, all frames added through MediaEncoder.AddFrame must use the overload that receives a MediaTime.