{"id":"dolphin.lightlab--DolphinLightEnvironment","name":"DolphinLightEnvironment","owner":"dolphin","package":"dolphin.lightlab","kind":"function","signature":"external DolphinLightEnvironment(dolphinLightWorld world,float dx,float dy,float dz) returns Vector3","description":"Dolphin light environment.","context":"Build bounded lighting experiments with geometry, visibility, transport, film, and GPU/CPU contracts.","parameters":[{"name":"world","type":"dolphinLightWorld","description":"Supply world as dolphinLightWorld."},{"name":"dx","type":"float","description":"Supply dx as float."},{"name":"dy","type":"float","description":"Supply dy as float."},{"name":"dz","type":"float","description":"Supply dz as float."}],"returns":"Vector3","members":[],"tags":["cpu","dolphin","dolphin.lightlab","function","lightlab","source-example"],"updated":"2026-09-09","source":{"repository":"dolphin","path":"packages/lightlab/src/environment.yh","line":56,"sha256":"f269cf7c34adee69943ce9debc1cfff556f5ff189fdba670bfa90f922c0a046f"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use DolphinLightEnvironment","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using dolphin.lightlab\n\n// Build bounded lighting experiments with geometry, visibility, transport, film, and GPU/CPU contracts.\ndolphinLightWorld world = dolphinLightWorld()\nfloat dx = 1.0\nfloat dy = 1.0\nfloat dz = 1.0\nVector3 result = DolphinLightEnvironment(world, dx, dy, dz)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_lightlab__dolphinlightenvironment\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"dolphin.lightlab\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/lightlab\"\n\n[[dependencies]]\npackage = \"dolphin.materials\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/materials\"\n\n[[dependencies]]\npackage = \"dolphin.math\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/math\"\n\n[[dependencies]]\npackage = \"dolphin.spatial3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/spatial3d\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"c6b2045187dcd5f5ba987c3d90679fa9da126a705ec515b71c32b9c0aa1564ad","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=dolphin.lightlab--DolphinLightEnvironment","json":"https://demonhunterlabs.com/reference/items/dolphin.lightlab--DolphinLightEnvironment.json","markdown":"https://demonhunterlabs.com/reference/text/dolphin.lightlab--DolphinLightEnvironment.md"}
