Version: 2017.3 (switch to 2017.4)
LanguageEnglish
  • C#
  • JS

Script language

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

VideoPlayer.playbackSpeed

public float playbackSpeed;

Description

Factor by which the basic playback rate will be multiplied.

Only works if VideoPlayer.canSetPlaybackSpeed is true. Setting this to 2.0 will play the clip twice as fast as its normal speed. Support for negative values is platform dependent.

Did you find this page useful? Please give it a rating: