Click or drag to resize

DracoCompression Class

Google Draco compression for mesh and point cloud data
Inheritance Hierarchy
SystemObject
  Rhino.FileIODracoCompression

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

The DracoCompression type exposes the following members.

Properties
  NameDescription
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
Top
Methods
  NameDescription
Public methodStatic memberCompress(Mesh)
Compress a mesh using default compression options.
Public methodStatic memberCompress(PointCloud)
Compress a point cloud
Public methodStatic memberCompress(Mesh, DracoCompressionOptions)
Compress a mesh
Public methodStatic memberCompress(PointCloud, DracoCompressionOptions)
Compress a point cloud
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 methodToByteArray
Gets the Draco compressed data as a byte array
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWrite
Write the compressed data to disk
Top
See Also