Skip to main content

Interface: EstimatedLighting

Defined in: sensing.ts:96

Lighting the host measured from the real world.

Every member is one of the spec types the environment document already uses, so an estimate needs no translation to be applied and no new shape to be read. An omitted member means "the host did not measure this"; an explicit null means "the host measured that there is none", which is the difference between a runtime without a light probe and a genuinely dark room.

Properties

PropertyModifierTypeDefined in
ambient?readonlyAmbientLightSpec | nullsensing.ts:97
ibl?readonlyIblSpec | nullsensing.ts:99
key?readonlyKeyLightSpec | nullsensing.ts:98