Class ExportSettings
glTF export settings
Inherited Members
Namespace: GLTFast.Export
Assembly: glTFast.Export.dll
Syntax
public class ExportSettings
Properties
ComponentMask
Component type flags to include or exclude components from export based on type.
Declaration
public ComponentType ComponentMask { get; set; }
Property Value
Type | Description |
---|---|
ComponentType |
Compression
Type of compression to apply
Declaration
public Compression Compression { get; set; }
Property Value
Type | Description |
---|---|
Compression |
Deterministic
If true, the export results will not differ on repeated exports. This comes at the cost of potentially longer export times on scenes with multiple, large meshes. This can be a requirement for certain asset pipelines or automated tests.
Declaration
public bool Deterministic { get; set; }
Property Value
Type | Description |
---|---|
bool |
DracoSettings
Draco compression export settings
Declaration
public DracoExportSettings DracoSettings { get; set; }
Property Value
Type | Description |
---|---|
DracoExportSettings |
FileConflictResolution
Resolutions to existing file conflicts
Declaration
public FileConflictResolution FileConflictResolution { get; set; }
Property Value
Type | Description |
---|---|
FileConflictResolution |
Format
Export to JSON-based or binary format glTF files
Declaration
public GltfFormat Format { get; set; }
Property Value
Type | Description |
---|---|
GltfFormat |
ImageDestination
Destination for image files
Declaration
public ImageDestination ImageDestination { get; set; }
Property Value
Type | Description |
---|---|
ImageDestination |
LightIntensityFactor
Light intensity values are multiplied by this factor.
Declaration
public float LightIntensityFactor { get; set; }
Property Value
Type | Description |
---|---|
float |
PreservedVertexAttributes
Controls which vertex attributes are preserved during export, regardless whether they are used/referenced or not. By default, unused attributes are discarded.
Declaration
public VertexAttributeUsage PreservedVertexAttributes { get; set; }
Property Value
Type | Description |
---|---|
VertexAttributeUsage |