Watermark
Contenu
[
Cacher
]Watermark class
Utilitaire pour encoder/décoder un filigrane invisible vers/de un maillage. @hideconstructor
Méthodes
encodeWatermark
| Nom | Description |
|---|---|
| encodeWatermark(input, text) | Encode un texte dans le filigrane aveugle du maillage. |
Parameters:
| Nom | Type | Description |
|---|---|---|
| input | Mesh | Maillage pour encoder un filigrane aveugle |
| text | String | Texte à encoder dans le maillage |
Result: Mesh
encodeWatermark
| Nom | Description |
|---|---|
| encodeWatermark(input, text, password) | Encode un texte dans le filigrane aveugle du maillage. |
Parameters:
| Nom | Type | Description |
|---|---|---|
| input | Mesh | Maillage pour encoder un filigrane aveugle |
| text | String | Texte à encoder dans le maillage |
| password | String | Mot de passe pour protéger le filigrane, il est optionnel |
Result: Mesh
decodeWatermark
| Nom | Description |
|---|---|
| decodeWatermark(input) | Décode le filigrane d’un maillage |
Parameters:
| Nom | Type | Description |
|---|---|---|
| input | Mesh | Le maillage pour extraire le filigrane |
Result: String
decodeWatermark
| Nom | Description |
|---|---|
| decodeWatermark(input, password) | Décode le filigrane d’un maillage |
Parameters:
| Nom | Type | Description |
|---|---|---|
| input | Mesh | Le maillage pour extraire le filigrane |
| password | String | Le mot de passe pour déchiffrer le filigrane |
Result: String