c# - Renaming the TriabgleIndices Property and Error Message -
I am using the C # Express Edition - 2008 development tool. I will use a array of 100,000 objects using a 3 To be able to create 3D trap, I have thousands of "Aries. Triangle indices. Add (...);" . But due to unnecessary code amount this is not a good application. I have to use short coding, like "mesh tie.ed (...);"
After performing the refactoring> Rename, the system returns the following error message: "Rename failed, the current solution does not have definitions in the C # project "
< P> How to solve this problem? Please help !
triangle indices < P>> is the name of the property of the MeshGeometry3D class in a referenced assembly. You can not change its name.
If you have to create a mesh with code (it would be better to use a modeling tool to create a trap as a file) then consider using a helpful method to minimize things:
Private Zero addTI (Aries Geometry 3D Mesh, Int Index) {mesh.TrangleIndices.Add (index); } Think seriously why you are doing this, though. Modeling tools work easier to make messs in standard formats, and you only need two lines of code to load a mesh file.
Comments
Post a Comment