public MeshGeometry3D MakeGeometry(MFnMesh fnMesh) { var r = new MeshGeometry3D(); var mesh = new TriangleMeshAdapater(fnMesh); r.Positions = mesh.Points; r.TriangleIndices = mesh.Indices; r.Normals = mesh.Normals; return(r); }
public MeshGeometry3D MakeGeometry(MFnMesh fnMesh) { var r = new MeshGeometry3D (); var mesh = new TriangleMeshAdapater (fnMesh); r.Positions = mesh.Points; r.TriangleIndices = mesh.Indices; r.Normals = mesh.Normals; return r; }