String SIZE = getAttrib (XMLNode, "Pagesize"); if (pageSize.size () = 0) {terrainConfig + = "Pagesize ="; terrainConfig + = sidestørrelse; terrainConfig + = "\\ n"; }
String tileSize = getAttrib (XMLNode, "TileSize"); hvis {terrainConfig + = "TileSize =" (tileSize.
size () = 0!); terrainConfig + = tileSize; terrainConfig + = "\\ n"; }
String maxPixelError = getAttrib (XMLNode, "MaxPixelError"); hvis {terrainConfig + = "MaxPixelError =" (maxPixelError.size () = 0!); terrainConfig + = maxPixelError; terrainConfig + = "\\ n"; }
String pageWorldX = getAttrib (XMLNode, "PageWorldX"); if (pageWorldX.size () = 0) {terrainConfig + = "PageWorldX ="; terrainConfig + = pageWorldX; terrainConfig + = "\\ n"; }
String pageWorldZ = getAttrib (XMLNode, "PageWorldZ"); if (pageWorldZ.
size () = 0) {terrainConfig + = "PageWorldZ ="; terrainConfig + = pageWorldZ; terrainConfig + = "\\ n"; }
String maxHeight = getAttrib (XMLNode, "MaxHeight"); if (maxHeight.size () = 0) {terrainConfig + = "MaxHeight ="; terrainConfig + = maxHeight; terrainConfig + = "\\ n"; }
String maxMipMapLevel = getAttrib (XMLNode, "MaxMipMapLevel"); hvis {terrainConfig + = "MaxMipMapLevel =" (maxMipMapLevel.size () = 0!); terrainConfig + = maxMipMapLevel; terrainConfig + = "\\ n"; }
String vertexNormals = getAttrib (XMLNode, "VertexNormals"); if (vertexNormals.
size () = 0!) {terrainConfig + = "VertexNormals ="; terrainConfig + = vertexNormals; terrainConfig + = "\\ n"; }
String vertexColors = getAttrib (XMLNode, "VertexColors"); if (vertexColors.size () = 0!) {terrainConfig + = "VertexColors ="; vertexColors + = vertexColors; terrainConfig + = "\\ n"; }
String useTriStrips = getAttrib (XMLNode, "UseTriStrips"); if (useTriStrips.size () = 0!) {terrainConfig + = "UseTriStrips ="; terrainConfig + = useTriStrips; terrainConfig + = "\\ n"; }
String vertexProgramMorph = getAttrib (XMLNode, "VertexProgramMorph"); if (vertexProgramMorph.
size () = 0) {terrainConfig + = "VertexProgramMorph ="; terrainConfig + = vertexProgramMorph; terrainConfig + = "\\ n"; }
String morphLODFactorParamName = getAttrib (XMLNode, "MorphLODFactorParamName"); hvis {terrainConfig + = "MorphLODFactorParamName =" (morphLODFactorParamName.size () = 0!); terrainConfig + = morphLODFactorPa