docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class OptimizeAndConvertProTransformation

    Optimize and convert all supported 3D file formats. Only available in the Unity Pro and Enterprise/Industry Tiers.

    Inheritance
    object
    OptimizeAndConvertProTransformation
    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 OptimizeAndConvertProTransformation : ITransformationCreation

    Properties

    ExportFormats

    The ouput file extension list. The default value is ["glb"].

    Declaration
    public string[] ExportFormats { get; set; }
    Property Value
    Type Description
    string[]

    InputFilePaths

    The input file paths to process (if any).

    Declaration
    public string[] InputFilePaths { get; set; }
    Property Value
    Type Description
    string[]

    MergeOptimization

    Whether to perform a scene optimization by merging some components. The default value is false.

    Declaration
    public bool? MergeOptimization { get; set; }
    Property Value
    Type Description
    bool?

    MeshCleaning

    Whether to perform a scene optimization by deleting unnecessary components. The default value is false.

    Declaration
    public bool? MeshCleaning { get; set; }
    Property Value
    Type Description
    bool?

    OutputFilename

    Specifies the output file name. The default value is output.

    Declaration
    public string OutputFilename { get; set; }
    Property Value
    Type Description
    string
    Remarks

    Do not provide an extension for the file name.

    Strategy

    The optimization strategy to use. The default value is OptimizeStrategy.Ratio.

    Declaration
    public OptimizeAndConvertProTransformation.OptimizeStrategy? Strategy { get; set; }
    Property Value
    Type Description
    OptimizeAndConvertProTransformation.OptimizeStrategy?

    StrategyTarget

    For target for processing the file. The default value is 100.

    Declaration
    public int? StrategyTarget { get; set; }
    Property Value
    Type Description
    int?

    WorkflowType

    The type of workflow to execute.

    Declaration
    public WorkflowType WorkflowType { get; }
    Property Value
    Type Description
    WorkflowType

    Methods

    GetExtraParameters()

    Any additional parameters to pass to the workflow.

    Declaration
    public Dictionary<string, object> GetExtraParameters()
    Returns
    Type Description
    Dictionary<string, object>

    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)