GalaxyField

interface GalaxyField
universe/src/galaxy/field.ts:96

Members

dustNormalizationreadonly

dustNormalization: number

dustScalereadonly

dustScale: number

normalizationreadonly

normalization: number

seedreadonly

seed: Seed

versionsreadonly

versions: Readonly<Readonly<Record<string, number>>>

sample

sample(position: UniverseVector, footprintParsecs?: number) → GalaxySample

The field at a point. footprintParsecs is the width of the pixel asking, and zero — the default, and every canonical caller — is the exact field; see galaxyDustModulation.

positionUniverseVector
Undocumented
footprintParsecsnumber
Undocumented