Yes, but what is the difference in speed compared to object.clone. I
can be doing this hundreds of times a second for the characters that
changed.
Build your own clone method. I ran into the same issue building a
LCD display. The following did the trick for me. It was included in
the LCD class.
CloneTrimesh(original As Trimesh)
Dim clone As New Trimesh
clone.VertexCount = original.VertexCount
clone.TriangleCount = original.TriangleCount
clone.VertexPositions.Copy(original.VertexPositions)
clone.Triangles.Copy(original.Triangles)
clone.HasVertexUVs = True
clone.VertexUVs.Copy(original.VertexUVs)
clone.Material = original.Material
clone.Scale = original.Scale
Return(clone)
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|