Class GeneratedVideo
Unity does not support creation of a VideoClip on runtime.
Therefore, GeneratedVideo will only save the urls of the video files.
Inheritance
object
Result
RESTResponse
GeneratedVideo
Assembly: .dll
Syntax
public class GeneratedVideo : GeneratedAsset<string, UniVideoFile>, IGenerated
Constructors
GeneratedVideo(string, string, Usage)
Declaration
public GeneratedVideo(string url, string path, Usage usage)
Parameters
Type |
Name |
Description |
string |
url |
|
string |
path |
|
Usage |
usage |
|
GeneratedVideo(string[], string[], Usage)
Declaration
public GeneratedVideo(string[] urls, string[] paths, Usage usage)
Parameters
Type |
Name |
Description |
string[] |
urls |
|
string[] |
paths |
|
Usage |
usage |
|
Methods
ToFiles()
Declaration
public override UniVideoFile[] ToFiles()
Returns
Type |
Description |
UniVideoFile[] |
|
Overrides
Operators
implicit operator UniVideoFile(GeneratedVideo)
Declaration
public static implicit operator UniVideoFile(GeneratedVideo generatedVideo)
Parameters
Returns
Type |
Description |
UniVideoFile |
|
implicit operator UniVideoFile[](GeneratedVideo)
Declaration
public static implicit operator UniVideoFile[](GeneratedVideo generatedVideo)
Parameters
Returns
Type |
Description |
UniVideoFile[] |
|
implicit operator string(GeneratedVideo)
Declaration
public static implicit operator string(GeneratedVideo generatedVideo)
Parameters
Returns
implicit operator string[](GeneratedVideo)
Declaration
public static implicit operator string[](GeneratedVideo generatedVideo)
Parameters
Returns
Type |
Description |
string[] |
|
Implements
Extension Methods