Class ThumbnailGeneratorTransformation
Produce four 2d images from the X, Y, Z, and Isometric-front-left directions for previewing purposes.
Implements
Inherited Members
Namespace: Unity.Cloud.Assets
Assembly: Unity.Cloud.Assets.dll
Syntax
public sealed class ThumbnailGeneratorTransformation : ITransformationCreation
Properties
BackgroundColor
The background color.
Declaration
public Color? BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color? |
CustomEnvironmentLight
The HDR file to use for custom environment lighting.
Declaration
public string CustomEnvironmentLight { get; set; }
Property Value
Type | Description |
---|---|
string |
EnvironmentLightRotation
The environment map rotation angle.
Declaration
public float? EnvironmentLightRotation { get; set; }
Property Value
Type | Description |
---|---|
float? |
ForceConvertZUpToYUp
Whether to force convert Z up to Y up.
Declaration
public bool? ForceConvertZUpToYUp { get; set; }
Property Value
Type | Description |
---|---|
bool? |
InputFilePaths
The input file paths to process (if any).
Declaration
public string[] InputFilePaths { get; set; }
Property Value
Type | Description |
---|---|
string[] |
OutputFileExtension
The extension of the output artifacts. The default value is png
.
Declaration
public string OutputFileExtension { get; set; }
Property Value
Type | Description |
---|---|
string |
OutputFolder
The output folder.
Declaration
public string OutputFolder { get; set; }
Property Value
Type | Description |
---|---|
string |
OutputPrefix
The prefix text to use for naming the artifacts. The default value is preview
.
Declaration
public string OutputPrefix { get; set; }
Property Value
Type | Description |
---|---|
string |
OutputSuffix
The suffix text to use for naming the artifacts.
Declaration
public string OutputSuffix { get; set; }
Property Value
Type | Description |
---|---|
string |
Resolution
The resolution of the generated thumbnail.
Declaration
public string Resolution { get; set; }
Property Value
Type | Description |
---|---|
string |
UseEnvironmentLight
Whether to use the custom environment lighting map.
Declaration
public bool? UseEnvironmentLight { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Views
Which views to generate.
Declaration
public string Views { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Available options are: front
left
top
isoFrontLeftTop
WorkflowType
The type of workflow to execute.
Declaration
public WorkflowType WorkflowType { get; }
Property Value
Type | Description |
---|---|
WorkflowType |
Methods
GetParameters()
Any additional parameters to pass to the workflow.
Declaration
public Dictionary<string, string> GetParameters()
Returns
Type | Description |
---|---|
Dictionary<string, string> | A set of paramters to pass to the request. |