Class GENVideoTask
Inheritance
object
GENVideoTask
Assembly: .dll
Syntax
public class GENVideoTask : GENTask<GENVideoTask, string, GeneratedVideo>, IGENTask
Constructors
GENVideoTask(string, Object)
Declaration
public GENVideoTask(string promptText, UnityEngine.Object target = null)
Parameters
Type |
Name |
Description |
string |
promptText |
|
Object |
target |
|
GENVideoTask(Texture2D, Object)
Declaration
public GENVideoTask(Texture2D promptImage, UnityEngine.Object target = null)
Parameters
Type |
Name |
Description |
Texture2D |
promptImage |
|
Object |
target |
|
Properties
outputMimeType
Declaration
public override MIMEType outputMimeType { get; set; }
Property Value
Type |
Description |
MIMEType |
|
Overrides
Methods
ExecuteAsync()
Executes the task and returns the generated result.
Declaration
public override UniTask<GeneratedVideo> ExecuteAsync()
Returns
Overrides
Implements
Extension Methods