Class OptimizeAndConvertProTransformation
Optimize and convert all supported 3D file formats. Only available in the Unity Pro and Enterprise/Industry Tiers.
Implements
Inherited Members
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. |