It is now implemented in B3DMLoader and gives access to the original objects so that functions like getKeys() or getData() can be used.
@@ -23,6 +23,10 @@ export class B3DMLoader extends B3DMLoaderBase {
model.batchTable = b3dm.batchTable;
model.featureTable = b3dm.featureTable;
+
+ model.scene.batchTable = b3dm.batchTable;
+ model.scene.featureTable = b3dm.featureTable;
resolve( model );
}, reject );
@@ -478,12 +478,7 @@ export class TilesRenderer extends TilesRendererBase {
case 'b3dm':
promise = new B3DMLoader( manager )
.parse( buffer )
- .then( res => {
-
- res.scene.batchAttributes = res.batchTable.header;
- return res.scene;
- } );
+ .then( res => res.scene );
break;
case 'pnts':