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.

VideoClipImporter.GetPreviewTexture

public Texture GetPreviewTexture();

Returns

Texture Texture containing the current frame.

Description

Returns a texture with the transcoded clip's current frame. Returns frame 0 when not playing, and frame at current time when playing.