docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ThumbnailGeneratorTransformation

    Produce four 2d images from the X, Y, Z, and Isometric-front-left directions for previewing purposes.

    Inheritance
    object
    ThumbnailGeneratorTransformation
    Implements
    ITransformationCreation
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    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.

    Implements

    ITransformationCreation
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)