DracoCompressionOptions

References
Options for applying Draco compression

Constructors

DracoCompressionOptions

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

Fields

IncludeNormals

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

IncludeTextureCoordinates

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

IncludeVertexColors

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

VertexColorFormat

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

Properties

CompressionLevel

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

NormalQuantizationBits

#Since v7.0
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.
public int NormalQuantizationBits { get; set; }

PositionQuantizationBits

#Since v7.0
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.
public int PositionQuantizationBits { get; set; }

TextureCoordintateQuantizationBits

#Since v7.0
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.
public int TextureCoordintateQuantizationBits { get; set; }