How to use vb.net to write STL to extrude the height for uv mapping

We know that in Rhino can use UV paste on the STL triangular mesh, and finally can use the replacement, specify the white or black growth height, so that the STL can grow out of the digital texture, But if I want to use vb.net to write a programme to grow the texture height of stl, what will be the function? Is it a blackmove command like the following?

Rhino.Geometry.MeshDisplacementInfo.BlackMove