Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

VideoClip.frameCount

public ulong frameCount;

Description

The length of the VideoClip in frames. (Read Only).

Note that the length returned can be inaccurate as the external encoder can be imprecise. Use VideoPlayer.frameCount to get an adjusted value that is more accurate.