Finalizer
Properties
The attribute position for normals when compressed
The attribute position for texture coordinates when compressed
The attribute position for vertices when compressed
Methods
Compress a mesh
public static DracoCompression Compress()
Mesh
mesh,
mesh to compress
options
options used to determine how the compression will occur
Returns: instance of class representing the compressed data
Compress a mesh using default compression options.
Returns: instance of class representing the compressed data
Compress a point cloud
public static DracoCompression Compress()
pointCloud,
point cloud to compress
options
options used to determine how the compression will occur
Returns: instance of class representing the compressed data
Compress a point cloud
Returns: instance of class representing the compressed data
Decompress base64 encoded version of Draco data into either a mesh or point cloud
Returns: Mesh or point cloud on success. null on failure
Decompress data into either a mesh or point cloud.
Returns: Mesh or point cloud on success. null on failure
Read compressed data from disk and decompress to RhinoCommon geometry
Returns: Mesh or point cloud on success. null on failure
Actively reclaims unmanaged resources that this instance uses.
public void Dispose()
Convert byte array of Draco compressed data into a base64 encoded string