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
GeneratedVideo
Assembly: .dll
Syntax
public class GeneratedVideo : GeneratedAsset<string, RawFile>, IGeneratedResult
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 RawFile[] ToFiles()
Returns
Type |
Description |
RawFile[] |
|
Overrides
Operators
implicit operator RawFile(GeneratedVideo)
Declaration
public static implicit operator RawFile(GeneratedVideo generatedVideo)
Parameters
Returns
implicit operator RawFile[](GeneratedVideo)
Declaration
public static implicit operator RawFile[](GeneratedVideo generatedVideo)
Parameters
Returns
Type |
Description |
RawFile[] |
|
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