Click or drag to resize

DracoCompression Class

Google Draco compression for mesh and point cloud data
Inheritance Hierarchy

Namespace:  Rhino.FileIO
Assembly:  RhinoCommon (in RhinoCommon.dll)
public class DracoCompression : IDisposable

The DracoCompression type exposes the following members.

Public propertyNormalAttributePosition
The attribute position for normals when compressed
Public propertyTextureCoordinatesAttributePosition
The attribute position for texture coordinates when compressed
Public propertyVertexAttributePosition
The attribute position for vertices when compressed
Public propertyVertexColorAttributePosition
The attribute position for vertex colors when compressed
Public methodStatic memberCompress(Mesh)
Compress a mesh using default compression options.
Public methodStatic memberCompress(Mesh, DracoCompressionOptions)
Compress a mesh
Public methodStatic memberDecompressBase64String
Decompress base64 encoded version of Draco data into either a mesh or point cloud
Public methodStatic memberDecompressByteArray
Decompress data into either a mesh or point cloud.
Public methodStatic memberDecompressFile
Read compressed data from disk and decompress to RhinoCommon geometry
Public methodDispose
Actively reclaims unmanaged resources that this instance uses.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Finalizer for DracoCompression
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToBase64String
Convert byte array of Draco compressed data into a base64 encoded string
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWrite
Write the compressed data to disk
See Also