Beispiel #1
0
            unsafe public static void BuildMeshFromNodeHandleForTerrainVolume(Mesh mesh, uint nodeHandle, bool onlyPositions)
            {
                // Get the data from Cubiquity.
                ushort noOfVertices; TerrainVertex *vertices; uint noOfIndices; ushort *indices;

                CubiquityDLL.GetTerrainMesh(nodeHandle, &noOfVertices, &vertices, &noOfIndices, &indices);