Watermark

Watermark class

Utility to encode/decode blind watermark to/from a mesh.

public class Watermark

Methods

NameDescription
static DecodeWatermark(Mesh, string)Decode the watermark from a mesh
static EncodeWatermark(Mesh, string, string)Encode a text into mesh’ blind watermark.

Examples

The following code shows how to encode a blind watermark into a mesh and decode it.

Mesh mesh = (new Cylinder()).ToMesh();
var encodedMesh = Watermark.EncodeWatermark(mesh, "Hello", null);
var watermark = Watermark.DecodeWatermark(encodedMesh, null);

See Also