MCPcopy
hub / github.com/CesiumGS/cesium / BatchTableHierarchy

Function BatchTableHierarchy

packages/engine/Source/Scene/BatchTableHierarchy.js:23–43  ·  view source on GitHub ↗

* Object for handling the 3DTILES_batch_table_hierarchy extension * * @param {object} options Object with the following properties: * @param {object} options.extension The 3DTILES_batch_table_hierarchy extension object. * @param {Uint8Array} [options.binaryBody] The bin

(options)

Source from the content-addressed store, hash-verified

21 * @private
22 */
23function BatchTableHierarchy(options) {
24 this._classes = undefined;
25 this._classIds = undefined;
26 this._classIndexes = undefined;
27 this._parentCounts = undefined;
28 this._parentIndexes = undefined;
29 this._parentIds = undefined;
30
31 // Total memory used by the typed arrays
32 this._byteLength = 0;
33
34 //>>includeStart('debug', pragmas.debug);
35 Check.typeOf.object("options.extension", options.extension);
36 //>>includeEnd('debug');
37
38 initialize(this, options.extension, options.binaryBody);
39
40 //>>includeStart('debug', pragmas.debug);
41 validateHierarchy(this);
42 //>>includeEnd('debug');
43}
44
45Object.defineProperties(BatchTableHierarchy.prototype, {
46 byteLength: {

Callers

nothing calls this directly

Calls 3

validateHierarchyFunction · 0.85
objectMethod · 0.80
initializeFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…