MCPcopy Create free account
hub / github.com/dailydotdev/apps / resolveLook

Function resolveLook

packages/webapp/components/world/worldCustomization.ts:167–169  ·  view source on GitHub ↗
(
  settings: Pick<WorldSettings, 'look'> | null | undefined,
)

Source from the content-addressed store, hash-verified

165
166/** What the world is photographed through: the owner's look, or DIORAMA. */
167export const resolveLook = (
168 settings: Pick<WorldSettings, 'look'> | null | undefined,
169): WorldLook => settings?.look ?? lookFromPreset(DEFAULT_LOOK_ID);
170
171/** What hangs over it: the owner's sky, or the file's own art direction. */
172export const resolveSky = (

Callers 3

WorldViewFunction · 0.90
WorldCustomizeFunction · 0.90

Calls 1

lookFromPresetFunction · 0.90

Tested by

no test coverage detected