DracoSaveOptions
Overview
DracoSaveOptions is a class in Aspose.3D FOSS for Java.
Inherits from: SaveOptions.
Options for Draco compression.
This class provides 25 methods for working with DracoSaveOptions objects in Java programs.
Available methods include: A3DObject, DracoSaveOptions, SaveOptions, findProperty, getApplyUnitScale, getColorBits, getCompressionLevel, getFileFormat, getName, getNormalBits, getPointCloud, getPositionBits, and 13 additional methods.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: applyUnitScale, colorBits, compressionLevel, fileFormat, name, normalBits, and 4 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
positionBits | int | Read | Quantization bits for position, default value is 14. |
textureCoordinateBits | int | Read | Quantization bits for texture coordinate, default value is 12. |
colorBits | int | Read | Quantization bits for vertex color, default value is 10. |
normalBits | int | Read | Quantization bits for normal vectors, default value is 10. |
compressionLevel | DracoCompressionLevel | Read | Compression level, default value is DracoCompressionLevel.STANDARD. |
applyUnitScale | boolean | Read | Apply AssetInfo.getUnitScaleFactor() to the mesh. |
pointCloud | boolean | Read | Export the scene as point cloud, default value is false. |
fileFormat | FileFormat | Read | Gets the file format. |
name | String | Read | Gets the name. |
properties | PropertyCollection | Read | Gets the properties. |
Methods
| Signature | Description |
|---|---|
DracoSaveOptions() | Constructor of DracoSaveOptions. |
getPositionBits() → int | Quantization bits for position, default value is 14. |
setPositionBits(value: int) | Quantization bits for position, default value is 14. |
getTextureCoordinateBits() → int | Quantization bits for texture coordinate, default value is 12. |
setTextureCoordinateBits(value: int) | Quantization bits for texture coordinate, default value is 12. |
getColorBits() → int | Quantization bits for vertex color, default value is 10. |
setColorBits(value: int) | Quantization bits for vertex color, default value is 10. |
getNormalBits() → int | Quantization bits for normal vectors, default value is 10. |
setNormalBits(value: int) | Quantization bits for normal vectors, default value is 10. |
getCompressionLevel() → DracoCompressionLevel | Compression level, default value is DracoCompressionLevel.STANDARD. |
setCompressionLevel(value: DracoCompressionLevel) | Compression level, default value is DracoCompressionLevel.STANDARD. |
getApplyUnitScale() → boolean | Apply AssetInfo.getUnitScaleFactor() to the mesh. |
setApplyUnitScale(value: boolean) | Apply AssetInfo.getUnitScaleFactor() to the mesh. |
getPointCloud() → boolean | Export the scene as point cloud, default value is false. |
setPointCloud(value: boolean) | Export the scene as point cloud, default value is false. |
SaveOptions() | Options for A3DW saving. |
getFileFormat() → FileFormat | Returns the file format. |
A3DObject() | Parameterized Cylinder. It can also be used to represent a cone when one of radiusTop/radiusBottom is zero. |
getName() → String | The segments of the curve. |
setName(name: String) | Constructs a CircleShape profile with specified radius. |
getProperties() → PropertyCollection | Initializes a new instance of Cylinder class. |
findProperty(name: String) → Property | Initializes a new instance of the Bone class. |
getProperty(name: String) → Object | Gets the transform matrix of the node in current pose. |
setProperty(name: String, value: Object) | Gets the width segments. |
removeProperty(name: String) → boolean | Gets flip coordinate system of control points/normal during importing/exporting. |