using Aspose.ThreeD;
var scene = Scene.FromFile("$inputFile");
var numMeshes = 0;
scene.RootNode.Accept((Node node) =>
{
var mesh = node.GetEntity<Mesh>();
if (mesh != null)
{
numMeshes++;
mesh = Watermark.EncodeWatermark(mesh, "HelloWorld", "1234");
if (mesh != null)
{
node.Entity = mesh;
}
}
return true;
});
scene.Save("$outputFile");
C#
VB.NET
F#
Java
Python
Node.js