{"id":"dolphin.lightlab--DolphinLightBasis","name":"DolphinLightBasis","owner":"dolphin","package":"dolphin.lightlab","kind":"function","signature":"external DolphinLightBasis(float nx,float ny,float nz,float a,float b,float c) returns Vector3","description":"Dolphin light basis.","context":"Build bounded lighting experiments with geometry, visibility, transport, film, and GPU/CPU contracts.","parameters":[{"name":"nx","type":"float","description":"Supply nx as float."},{"name":"ny","type":"float","description":"Supply ny as float."},{"name":"nz","type":"float","description":"Supply nz as float."},{"name":"a","type":"float","description":"Supply a as float."},{"name":"b","type":"float","description":"Supply b as float."},{"name":"c","type":"float","description":"Supply c 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/transport.yh","line":30,"sha256":"bc741924a5c25f24d5d168baa7ff6aa2b2a957540a52d9feead1a0809d0e84e6"},"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 DolphinLightBasis","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.\nfloat nx = 1.0\nfloat ny = 1.0\nfloat nz = 1.0\nfloat a = 1.0\nfloat b = 1.0\nfloat c = 1.0\nVector3 result = DolphinLightBasis(nx, ny, nz, a, b, c)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_lightlab__dolphinlightbasis\"\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":"8e97cea5461a7e93fe24d22ac2290a858fbf336e2be04b1902f4300579e29ca7","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=dolphin.lightlab--DolphinLightBasis","json":"https://demonhunterlabs.com/reference/items/dolphin.lightlab--DolphinLightBasis.json","markdown":"https://demonhunterlabs.com/reference/text/dolphin.lightlab--DolphinLightBasis.md"}
