1
edit
Changes
→Parser Interface
<pre>
/* This example only demonstrates syntax. It hasn't been tested.
*/
var parser;
function startCallback(parser){
}
function parseCallback(parser){
// Get the version string of the parser parser.version; // Get the number of parsed points so far parser.getProgress()numParsedPoints; // Get the total number of points in the point cloud. parser.getNumParsedPoints()numTotalPoints; // Progress of downloading the point cloud between zero and one. parser.getFileSize()progress; // File size of the resource in bytes. parser.getNumTotalPoints()fileSize;
}
function finishCallback(){
// finished
}
</pre>