LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

DownloadHandlerMovieTexture.GetContent

public static MovieTexture GetContent(Networking.UnityWebRequest uwr);

Parameters

uwrA UnityWebRequest with attached DownloadHandlerMovieTexture.

Returns

MovieTexture A MovieTexture created out of downloaded bytes.

Description

A convenience (helper) method for casting DownloadHandler to DownloadHandlerMovieTexture and accessing its movieTexture property.