ScanSettings
Since 0.6
Fields
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
lod0Triangles | integer | yes | Triangle ceiling of the full-detail level. 12 or more. | ||
lodRatios | number[] | yes | Each coarser level's triangle target as a fraction of full detail's, falling towards 0; at most 4. | ||
lodCoverage | number[] | yes | Per level from full detail, the fraction of the screen's height below which the next level draws. One more entry than lodRatios, falling, the last 0. | ||
textureMaxSide | integer | yes | No texture side longer than this, in texels (64 to 8192; 4096 by default). Per asset, as is textureTotalTexels: a hero object seen close up can keep 8K while the rest stay at 4K. | ||
textureTotalTexels | number | yes | All the scan's textures together hold no more texels than this. | ||
hulls | integer | yes | Most convex hulls for collision; 0 builds none. At most 256. | ||
cuts | ScanCut[] | no | Regions whose triangles are removed, for a replacement part to sit in. | ||
ruler | ScanRuler | no | Where unitScale came from, when it was set with the ruler. | ||
sourcePath | string | no | Scene-relative path of the kept source file, for a re-cook. Absent when the source was not kept. | ||
cookVersion | integer | yes | The cook that made the GLB; a newer cook may make different bytes. |