CustomRenderMeshProvider2 and modified Render Meshes

Hello,

I’m currently implementing a CustomRenderMeshProvider2 subclass that takes as input an object’s mesh, performs some operation on it and add the result to the RenderPrimitiveList objMeshes.

The purpose of this is to visually render a modified geometry, without actually modifying/replacing the original object’s geometry.

All is fine, except for a couple of issues I would like to get rid of:

  1. I would like to hide the rendering of the original object’s mesh wires, so that they do not overlap with the modified render mesh;
  2. I would like to apply a different display mode to the render mesh (because it does not follow the current Display settings, such as “Mesh Wires” etc.);

Is it possible to achieve such behaviour?