Unity Engine documentation Script Reference UnityEditor UnityEditor.Media MediaTime Time representation for use with media containers.
Read time 1 minute
Last updated 10 days ago Definition
A
MediaTime can be thought of as "sample #
at
Hz".
This representation is precise, even for large values, because the sample count and rate are stored separately and do not make use of floating point storage.
Static Fields
Value Description Invalid Invalid time value.
Constructors
Properties
Property Description count The sample count for the time value. rate The rate used for converting the count into seconds.
Operators
Operator Description double Returns the time value expressed as a floating point number of seconds.