Exemple #1
0
 public void SetMeshInfo() // none
 {
     // 주소값 전달해서 추후에는 같이 변환되게 해야됨.
     MeshInfo = new MeshInformation();
     MeshInfo.ConnectedTriangles = AdjacencyList.Instance.connectedTriangles;
     MeshInfo.ConnectedVertices  = AdjacencyList.Instance.connectedVertices;
     MeshInfo.EdgeList           = AdjacencyList.Instance.edgeList;
     MeshInfo.WorldPosition      = AdjacencyList.Instance.worldPositionVertices;
     MeshInfo.ObjectMesh         = mesh;
 }
Exemple #2
0
 public static extern int GetHalfEdgeMeshInfo(IntPtr mesh, ref MeshInformation meshInfo);
Exemple #3
0
 public static extern int GetHalfEdgeMeshInfo(IntPtr mesh, [MarshalAs(UnmanagedType.Struct)] ref MeshInformation meshInfo);