文档

Unity Engine

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.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Returns

Type

Description

TextureTexture containing the current frame.