DracoSaveOptions

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

NameTypeAccessDescription
positionBitsintReadQuantization bits for position, default value is 14.
textureCoordinateBitsintReadQuantization bits for texture coordinate, default value is 12.
colorBitsintReadQuantization bits for vertex color, default value is 10.
normalBitsintReadQuantization bits for normal vectors, default value is 10.
compressionLevelDracoCompressionLevelReadCompression level, default value is DracoCompressionLevel.STANDARD.
applyUnitScalebooleanReadApply AssetInfo.getUnitScaleFactor() to the mesh.
pointCloudbooleanReadExport the scene as point cloud, default value is false.
fileFormatFileFormatReadGets the file format.
nameStringReadGets the name.
propertiesPropertyCollectionReadGets the properties.

Methods

SignatureDescription
DracoSaveOptions()Constructor of DracoSaveOptions.
getPositionBits()intQuantization bits for position, default value is 14.
setPositionBits(value: int)Quantization bits for position, default value is 14.
getTextureCoordinateBits()intQuantization bits for texture coordinate, default value is 12.
setTextureCoordinateBits(value: int)Quantization bits for texture coordinate, default value is 12.
getColorBits()intQuantization bits for vertex color, default value is 10.
setColorBits(value: int)Quantization bits for vertex color, default value is 10.
getNormalBits()intQuantization bits for normal vectors, default value is 10.
setNormalBits(value: int)Quantization bits for normal vectors, default value is 10.
getCompressionLevel()DracoCompressionLevelCompression level, default value is DracoCompressionLevel.STANDARD.
setCompressionLevel(value: DracoCompressionLevel)Compression level, default value is DracoCompressionLevel.STANDARD.
getApplyUnitScale()booleanApply AssetInfo.getUnitScaleFactor() to the mesh.
setApplyUnitScale(value: boolean)Apply AssetInfo.getUnitScaleFactor() to the mesh.
getPointCloud()booleanExport 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()FileFormatReturns the file format.
A3DObject()Parameterized Cylinder. It can also be used to represent a cone when one of radiusTop/radiusBottom is zero.
getName()StringThe segments of the curve.
setName(name: String)Constructs a CircleShape profile with specified radius.
getProperties()PropertyCollectionInitializes a new instance of Cylinder class.
findProperty(name: String)PropertyInitializes a new instance of the Bone class.
getProperty(name: String)ObjectGets the transform matrix of the node in current pose.
setProperty(name: String, value: Object)Gets the width segments.
removeProperty(name: String)booleanGets flip coordinate system of control points/normal during importing/exporting.

See Also

 English