Retrieves the position of a vertex in the mesh using the specified vertex handle.
Retrieves the position of a vertex in the mesh using the specified vertex handle.
To use this method, you need to have a valid HalfEdgeMesh.VertexHandle
that represents the vertex whose position you want to retrieve. Call this method with the vertex handle as the parameter to get the vertex's position as a Vector3
.
// Assuming 'mesh' is an instance of PolygonMesh and 'vertexHandle' is a valid VertexHandle Vector3 vertexPosition = mesh.GetVertexPosition(vertexHandle); // Now 'vertexPosition' contains the position of the vertex in the mesh.