Class GlbPreviewTransformation
Produce a simplified GLB representation of a 3D model.
Implements
Inherited Members
Namespace: Unity.Cloud.Assets
Assembly: Unity.Cloud.Assets.dll
Syntax
public sealed class GlbPreviewTransformation : ITransformationCreation
Properties
InputFilePaths
The input file paths to process (if any).
Declaration
public string[] InputFilePaths { get; set; }
Property Value
Type | Description |
---|---|
string[] |
OutputFilename
Specifies the output file name. The default value is preview
.
Declaration
public string OutputFilename { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Do not provide an extension for the file name.
UseDracoCompression
Whether to use Draco mesh compression.
Declaration
public bool? UseDracoCompression { get; set; }
Property Value
Type | Description |
---|---|
bool? |
UseKtx2Texture
Whether to use KTX2 texture compression.
Declaration
public bool? UseKtx2Texture { get; set; }
Property Value
Type | Description |
---|---|
bool? |
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. |