DracoCompressionOptions

References
Options for applying Draco compression

Constructors

DracoCompressionOptions

#Since v7.0
public DracoCompressionOptions()
Initializes to default options

Fields

IncludeNormals

#
public bool IncludeNormals
Include vertex normals in the compressed data.

IncludeTextureCoordinates

#
public bool IncludeTextureCoordinates
Include texture coordinates in the compressed data.

IncludeVertexColors

#
public bool IncludeVertexColors
Include vertex colors in the compressed data.

VertexColorFormat

#
public DracoColorFormat VertexColorFormat
Color format of vertex colors in compressed data

Properties

CompressionLevel

#Since v7.0
public int CompressionLevel { get; set; }
Compression level. 0 if fastest, but least compression. 10 is slowest, but best compression

NormalQuantizationBits

#Since v7.0
public int NormalQuantizationBits { get; set; }
Sets the quantization compression options for normal values. The values will be quantized in a box defined by the maximum extent of the values. I.e., the actual precision of this option depends on the scale of the attribute values.

PositionQuantizationBits

#Since v7.0
public int PositionQuantizationBits { get; set; }
Sets the quantization compression options for position values. The values will be quantized in a box defined by the maximum extent of the values. I.e., the actual precision of this option depends on the scale of the attribute values.

TextureCoordintateQuantizationBits

#Since v7.0
public int TextureCoordintateQuantizationBits { get; set; }
Sets the quantization compression options for texture coordinate values. The values will be quantized in a box defined by the maximum extent of the values. I.e., the actual precision of this option depends on the scale of the attribute values.