Skip to content

Commit c80d62f

Browse files
committed
Update flags
1 parent ce648e8 commit c80d62f

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/core/renderer/API.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ extend this class to add camera projection, scene management, and tile display.
707707
### .root
708708
709709
```js
710-
root: Tile | null
710+
readonly root: Tile | null
711711
```
712712
713713
Root tile of the loaded root tileset, or null if not yet loaded.
@@ -716,7 +716,7 @@ Root tile of the loaded root tileset, or null if not yet loaded.
716716
### .loadProgress
717717
718718
```js
719-
loadProgress: number
719+
readonly loadProgress: number
720720
```
721721
722722
Fraction of tiles loaded since the last idle state, from 0 (nothing loaded) to 1 (all loaded).

src/core/renderer/tiles/TilesRendererBase.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ export class TilesRendererBase {
320320
/**
321321
* Root tile of the loaded root tileset, or null if not yet loaded.
322322
* @type {Tile|null}
323+
* @readonly
323324
*/
324325
get root() {
325326

@@ -338,6 +339,7 @@ export class TilesRendererBase {
338339
/**
339340
* Fraction of tiles loaded since the last idle state, from 0 (nothing loaded) to 1 (all loaded).
340341
* @type {number}
342+
* @readonly
341343
*/
342344
get loadProgress() {
343345

0 commit comments

Comments
 (0)