Legacy Documentation: Version 2017.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

DownloadHandlerMovieTexture.GetContent

public static MovieTexture GetContent(Networking.UnityWebRequest uwr);

Parameters

uwr A 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.

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