GalaxyInspector

class GalaxyInspector

Read-only diagnostics derive from the current world, including after a save load.

devtools/src/galaxy.ts:155

Members

constructor

constructor(world: World, render: () → GalaxyRenderReport | null) → GalaxyInspector
worldWorld
Undocumented
render() → GalaxyRenderReport | null
Undocumented

fieldreadonly

renderreadonly

render: () → GalaxyRenderReport | null

calibration

calibration() → { 10 fields }

count

optionsGalaxyCountOptions
Undocumented

localDust

localDust() → { bubble: Readonly<{ radiusParsecs: 165; residual: 0.2; source: 'https://doi.org/10.1038/s41586-021-04286-5'; transitionParsecs: 25 }>; clouds: readonly Readonly<{ 10 fields } | { 10 fields } | { 10 fields } | { 10 fields } | { 10 fields } | { 10 fields } | { 10 fields } | { 10 fields } | { 10 fields }>[] }

plate

plate(options: GalaxyPlateOptions) → GalaxyPlate
optionsGalaxyPlateOptions
Undocumented

ray

ray(direction: Vec3, options: GalaxyRayOptions, origin: UniverseVector) → GalaxyRayIntegral
directionVec3
Undocumented
optionsGalaxyRayOptions
Undocumented
originUniverseVector
Undocumented

sample

sample(position: UniverseVector) → { 13 fields }
positionUniverseVector
Undocumented

tangencies

tangencies() → { arm: string; longitudes: readonly number[] }[]