@@ -85,7 +85,7 @@ Base class for all 3D Tiles content loaders. Handles fetching and parsing tile c
8585### .fetchOptions
8686
8787``` js
88- fetchOptions: Object
88+ fetchOptions: Object = {}
8989```
9090
9191Options passed to ` fetch ` when loading tile content.
@@ -94,7 +94,7 @@ Options passed to `fetch` when loading tile content.
9494### .workingPath
9595
9696``` js
97- workingPath: string
97+ workingPath: string = ' '
9898```
9999
100100Base URL used to resolve relative external URLs.
@@ -348,17 +348,17 @@ are in use each frame and evicts unused items when the cache exceeds its size li
348348### .unloadPriorityCallback
349349
350350``` js
351- unloadPriorityCallback : ( a : any , b : any ) => number | null
351+ unloadPriorityCallback : ( a : any , b : any ) => number | null = null
352352```
353353
354354Comparator used to determine eviction order. Items that sort last are evicted first.
355- Defaults to ` null ` ( eviction order is by last-used time) .
355+ When ` null ` , eviction order is by last-used time.
356356
357357
358358### .minSize
359359
360360``` js
361- minSize: number
361+ minSize: number = 6000
362362```
363363
364364Minimum number of items to keep in the cache after eviction.
@@ -367,7 +367,7 @@ Minimum number of items to keep in the cache after eviction.
367367### .maxSize
368368
369369``` js
370- maxSize: number
370+ maxSize: number = 8000
371371```
372372
373373Maximum number of items before eviction is triggered.
@@ -376,7 +376,7 @@ Maximum number of items before eviction is triggered.
376376### .minBytesSize
377377
378378``` js
379- minBytesSize: number
379+ minBytesSize: number = ~ 322MB
380380```
381381
382382Minimum total bytes to retain after eviction.
@@ -387,7 +387,7 @@ Minimum total bytes to retain after eviction.
387387### .maxBytesSize
388388
389389``` js
390- maxBytesSize: number
390+ maxBytesSize: number = ~ 430MB
391391```
392392
393393Maximum total bytes before eviction is triggered.
@@ -398,7 +398,7 @@ Maximum total bytes before eviction is triggered.
398398### .unloadPercent
399399
400400``` js
401- unloadPercent: number
401+ unloadPercent: number = 0.05
402402```
403403
404404Fraction of excess items/bytes to unload per eviction pass.
@@ -407,7 +407,7 @@ Fraction of excess items/bytes to unload per eviction pass.
407407### .autoMarkUnused
408408
409409``` js
410- autoMarkUnused: boolean
410+ autoMarkUnused: boolean = true
411411```
412412
413413If true, items are automatically marked as unused at the start of each eviction pass.
@@ -551,7 +551,7 @@ returns whether tasks are queued or actively running
551551### .maxJobs
552552
553553``` js
554- maxJobs: number
554+ maxJobs: number = 6
555555```
556556
557557Maximum number of jobs that can run concurrently.
@@ -560,7 +560,7 @@ Maximum number of jobs that can run concurrently.
560560### .autoUpdate
561561
562562``` js
563- autoUpdate: boolean
563+ autoUpdate: boolean = true
564564```
565565
566566If true, job runs are automatically scheduled after ` add ` and after each job completes.
@@ -569,11 +569,11 @@ If true, job runs are automatically scheduled after `add` and after each job com
569569### .priorityCallback
570570
571571``` js
572- priorityCallback : ( a : any , b : any ) => number | null
572+ priorityCallback : ( a : any , b : any ) => number | null = null
573573```
574574
575575Comparator used to sort queued items. Higher-priority items should sort last
576- (i.e. return positive when ` itemA ` should run before ` itemB ` ). Defaults to ` null ` .
576+ (i.e. return positive when ` itemA ` should run before ` itemB ` ).
577577
578578
579579### .sort
@@ -773,7 +773,7 @@ The loaded root tileset object, or null if not yet loaded.
773773### .fetchOptions
774774
775775` ` ` js
776- fetchOptions: RequestInit
776+ fetchOptions: RequestInit = {}
777777` ` `
778778
779779Options passed to ` fetch` when loading tile and tileset resources.
@@ -863,7 +863,7 @@ Loading and rendering statistics updated each frame. Fields:
863863### .errorTarget
864864
865865` ` ` js
866- errorTarget: number
866+ errorTarget: number = 16
867867` ` `
868868
869869Target screen-space error in pixels to aim for when updating the geometry. Tiles will
@@ -875,7 +875,7 @@ of the 3D Tiles specification for more information.
875875### .displayActiveTiles
876876
877877` ` ` js
878- displayActiveTiles: boolean
878+ displayActiveTiles: boolean = false
879879` ` `
880880
881881"Active tiles" are those that are loaded and available but not necessarily visible.
@@ -888,7 +888,7 @@ camera view not accounted for by the tiles renderer.
888888### .maxDepth
889889
890890` ` ` js
891- maxDepth: number
891+ maxDepth: number = Infinity
892892` ` `
893893
894894Maximum depth in the tile hierarchy to traverse. Tiles deeper than this are skipped.
@@ -897,7 +897,7 @@ Maximum depth in the tile hierarchy to traverse. Tiles deeper than this are skip
897897### .optimizedLoadStrategy
898898
899899` ` ` js
900- optimizedLoadStrategy: boolean
900+ optimizedLoadStrategy: boolean = false
901901` ` `
902902
903903**Experimental.** Enables an optimized tile loading strategy that loads only the tiles
@@ -907,9 +907,6 @@ tiles to load first. Prevents visual gaps and flashing during camera movement.
907907
908908Based in part on [Cesium Native tile selection](https://cesium.com/learn/cesium-native/ref-doc/selection-algorithm-details.html).
909909
910- Default is ` false ` , which uses the previous approach of loading all parent and sibling
911- tiles for guaranteed smooth transitions.
912-
913910> [!WARNING]
914911> Setting is currently incompatible with plugins that split tiles and on-the-fly generate and
915912> dispose of child tiles including the ` ImageOverlayPlugin` ` enableTileSplitting` setting,
@@ -919,7 +916,7 @@ tiles for guaranteed smooth transitions.
919916### .loadSiblings
920917
921918` ` ` js
922- loadSiblings: boolean
919+ loadSiblings: boolean = true
923920` ` `
924921
925922**Experimental.** When ` true ` , sibling tiles are loaded together to prevent gaps during
@@ -933,7 +930,7 @@ Only applies when `optimizedLoadStrategy` is enabled.
933930### .loadAncestors
934931
935932` ` ` js
936- loadAncestors: boolean
933+ loadAncestors: boolean = false
937934` ` `
938935
939936**Experimental.** When ` true ` , ancestor tiles are queued for download and displayed as a
@@ -947,7 +944,7 @@ Only applies when `optimizedLoadStrategy` is enabled.
947944### .maxTilesProcessed
948945
949946` ` ` js
950- maxTilesProcessed: number
947+ maxTilesProcessed: number = 250
951948` ` `
952949
953950The number of tiles to process immediately when traversing the tile set to determine
0 commit comments