hey
i just want to know how can we obtain the sharedVertexHandle or SharedIndex via Script?
hey
i just want to know how can we obtain the sharedVertexHandle or SharedIndex via Script?
You can get the shared vertex collection from ProBuilderMesh.sharedVertices
, where the index of the vertex position in the sharedVertices array is the vertex handle. Generally though the API assumes that this kind of access will be done internally, and that externally you would be operating on position indices (either individually, or collections from ProBuilderMesh.GetCoincidentVertices).
May I ask what you’re trying to do that requires access to the vertex handle information?