Ejemplo n.º 1
0
        public static int[] GetPolygonVertices(FbxMesh mesh)
        {
            int count = mesh.GetPolygonVertexCount();
            var ar    = IntArray.frompointer(mesh.GetPolygonVertices());
            var ret   = new int[count];

            for (int i = 0; i < count; i++)
            {
                ret[i] = ar.getitem(i);
            }
            return(ret);
        }