Class FluentAPIExtensions
Inheritance
object
FluentAPIExtensions
Assembly: .dll
Syntax
public static class FluentAPIExtensions
Methods
SetMask(GENInpaintTask, Texture2D)
Sets the mask texture for inpainting (OpenAI only).
Declaration
public static GENInpaintTask SetMask(this GENInpaintTask task, Texture2D mask)
Parameters
Returns
SetQuality(GENImageTask, ImageQuality)
Sets the quality of the generated image (OpenAI only).
Declaration
public static GENImageTask SetQuality(this GENImageTask task, ImageQuality quality)
Parameters
Returns
SetSize<T>(T, ImageSize)
Sets the size of the generated image (OpenAI only).
Declaration
public static T SetSize<T>(this T task, ImageSize size) where T : IGENTask
Parameters
Type |
Name |
Description |
T |
task |
|
ImageSize |
size |
The size of the generated image.
|
Returns
Type Parameters
SetStyle(GENImageTask, ImageStyle)
Sets the visual style of the image (OpenAI only).
Declaration
public static GENImageTask SetStyle(this GENImageTask task, ImageStyle style)
Parameters
Returns