DracoSaveOptions

DracoSaveOptions class

Save options for Google draco files

Methods

constructor

NameDescription
constructor()Construct a default configuration for saving draco files.

Result:


getPositionBits

NameDescription
getPositionBits()Quantization bits for position, default value is 14

Result:


setPositionBits

NameDescription
setPositionBits(value)Quantization bits for position, default value is 14

Result:


getTextureCoordinateBits

NameDescription
getTextureCoordinateBits()Quantization bits for texture coordinate, default value is 12

Result:


setTextureCoordinateBits

NameDescription
setTextureCoordinateBits(value)Quantization bits for texture coordinate, default value is 12

Result:


getColorBits

NameDescription
getColorBits()Quantization bits for vertex color, default value is 10

Result:


setColorBits

NameDescription
setColorBits(value)Quantization bits for vertex color, default value is 10

Result:


getNormalBits

NameDescription
getNormalBits()Quantization bits for normal vectors, default value is 10

Result:


setNormalBits

NameDescription
setNormalBits(value)Quantization bits for normal vectors, default value is 10

Result:


getCompressionLevel

NameDescription
getCompressionLevel()Compression level, default value is DracoCompressionLevel.STANDARDThe value of the property is DracoCompressionLevel integer constant.

Result:


setCompressionLevel

NameDescription
setCompressionLevel(value)Compression level, default value is DracoCompressionLevel.STANDARDThe value of the property is DracoCompressionLevel integer constant.

Result:


getApplyUnitScale

NameDescription
getApplyUnitScale()Apply AssetInfo.UnitScaleFactor to the mesh. Default value is false.

Result:


setApplyUnitScale

NameDescription
setApplyUnitScale(value)Apply AssetInfo.UnitScaleFactor to the mesh. Default value is false.

Result:


getPointCloud

NameDescription
getPointCloud()Export the scene as point cloud, default value is false.

Result:


setPointCloud

NameDescription
setPointCloud(value)Export the scene as point cloud, default value is false.

Result:


getExportTextures

NameDescription
getExportTextures()Try to copy textures used in scene to output directory.

Result:


setExportTextures

NameDescription
setExportTextures(value)Try to copy textures used in scene to output directory.

Result:


getFileFormat

NameDescription
getFileFormat()Gets the file format that specified in current Save/Load option.

Result:


getEncoding

NameDescription
getEncoding()Gets or sets the default encoding for text-based files. Default value is null which means the importer/exporter will decide which encoding to use.

Result:


getFileSystem

NameDescription
getFileSystem()Allow user to handle how to manage the external dependencies during load/save.

Result:


setFileSystem

NameDescription
setFileSystem(value)Allow user to handle how to manage the external dependencies during load/save.

Result:


getLookupPaths

NameDescription
getLookupPaths()Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.

Result:


getFileName

NameDescription
getFileName()The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material.

Result:


setFileName

NameDescription
setFileName(value)The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material.

Result: