Skip to content

DracoCompressionOptions

Public Class

Options for applying Draco compression

Inheritance Hierarchy

System.Object
Rhino.FileIO.DracoCompressionOptions

Namespace: Rhino.FileIO

Assembly: RhinoCommon (in RhinoCommon.dll)

Syntax

public class DracoCompressionOptions

The DracoCompressionOptions type exposes the following members.

Constructors

Name

Description


Public Method

Initializes to default options


Properties

Name

Description


Public Property

Compression level. 0 if fastest, but least compression. 10 is slowest, but best compression


Public Property

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 Property

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 Property

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.


Methods

Name

Description


Public Method

Equals

Determines whether the specified object is equal to the current object.

(Inherited from Object.)


Protected Method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

(Inherited from Object.)


Public Method

GetHashCode

Serves as the default hash function.

(Inherited from Object.)


Public Method

GetType

Gets the Type of the current instance.

(Inherited from Object.)


Protected Method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)


Public Method

ToString

Returns a string that represents the current object.

(Inherited from Object.)


Fields

Name

Description


Public Field
IncludeNormals

Include vertex normals in the compressed data.


Public Field
IncludeTextureCoordinates

Include texture coordinates in the compressed data.


Public Field
IncludeVertexColors

Include vertex colors in the compressed data.


Public Field
VertexColorFormat

Color format of vertex colors in compressed data