Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetPreviewTexture()

Returns a texture with the transcoded clip's current frame. Returns frame 0 when not playing, and frame at current time when playing.
Read time 1 minuteLast updated 13 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public Texture GetPreviewTexture()

Returns

Type

Description

TextureTexture containing the current frame.