public MayaMeshData(MFnMesh mesh)
        {
            this.Mesh     = mesh;
            this.Instance = mesh.dagPath.isInstanced ? mesh.dagPath.instanceNumber : 0;

            mesh.getConnectedShaders(this.Instance, this.Shaders, this.ShaderIndices);
            mesh.getPoints(this.VertexArray, MSpace.Space.kWorld);
            mesh.getUVs(this.UArray, this.VArray);
            mesh.getAssignedUVs(this.UVCounts, this.UVIds);
            mesh.getTriangles(this.TriangleCounts, this.TriangleVertices);
            mesh.getVertexNormals(false, this.Normals);
        }