Class GenericPolygonTargetTransformation
Implements
Inherited Members
Namespace: Unity.Cloud.Assets
Assembly: Unity.Cloud.Assets.dll
Syntax
[Obsolete("Use OptimizeAndConvertFreeTransformation or OptimizeAndConvertProTransformation instead.")]
public sealed class GenericPolygonTargetTransformation : ITransformationCreation
Properties
DeleteObjects
Whether to optimize the scene by deleting unnecessary objects.
Declaration
public bool? DeleteObjects { 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[] |
MergeObjects
Whether structure optimization is enabled (reduce draw calls, but combined objects won't move separately).
Declaration
public bool? MergeObjects { get; set; }
Property Value
Type | Description |
---|---|
bool? |
OutputFileExtension
The extension of the output artifacts. The default value is glb
.
Declaration
public string OutputFileExtension { get; set; }
Property Value
Type | Description |
---|---|
string |
OutputFilename
Specifies the filename to output.
Declaration
public string OutputFilename { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Do not provide an extension for the file name.
OutputFolder
The output folder.
Declaration
public string OutputFolder { get; set; }
Property Value
Type | Description |
---|---|
string |
PolygonCountTarget
The targeted polygon count of the 3d model exported. Defaults to 100000.
Declaration
public int PolygonCountTarget { 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
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. |