{"id":"dolphin.lightlab--dolphinLightShape","name":"dolphinLightShape","owner":"dolphin","package":"dolphin.lightlab","kind":"thing","signature":"external thing dolphinLightShape","description":"A dolphin light shape record carrying surfaceStyle, affine.","context":"Build bounded lighting experiments with geometry, visibility, transport, film, and GPU/CPU contracts.","parameters":[],"returns":"void","members":[{"name":"surfaceStyle","kind":"field","type":"int","description":"Stores surface style as int.","signature":"int surfaceStyle","tags":["thing","field","dolphin.lightlab"],"updated":"2026-09-09"},{"name":"affine","kind":"field","type":"bool","description":"Stores affine as bool.","signature":"bool affine","tags":["thing","field","dolphin.lightlab"],"updated":"2026-09-09"},{"name":"dolphinLightShape","kind":"constructor","parameters":[{"name":"id","type":"int","description":"Id."},{"name":"kind","type":"int","description":"Kind."},{"name":"material","type":"int","description":"Material."},{"name":"components","type":"int","description":"Components."},{"name":"x","type":"float","description":"X."},{"name":"y","type":"float","description":"Y."},{"name":"z","type":"float","description":"Z."},{"name":"sx","type":"float","description":"Sx."},{"name":"sy","type":"float","description":"Sy."},{"name":"sz","type":"float","description":"Sz."},{"name":"yaw","type":"float","description":"Yaw."}],"returns":"void","signature":"dolphinLightShape(int id,int kind,int material,int components,float x,float y,float z,float sx,float sy,float sz,float yaw)","description":"Dolphin light shape.","tags":["thing","constructor","dolphin.lightlab"],"updated":"2026-09-09"}],"tags":["cpu","dolphin","dolphin.lightlab","lightlab","source-example","thing"],"updated":"2026-09-09","source":{"repository":"dolphin","path":"packages/lightlab/src/lightlab.yh","line":12,"sha256":"150a7e55b88ac40444f2c9ea005ae60d9fe72e2193851e48a2c8ab7b22bfd12b"},"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 dolphinLightShape","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.\ndolphinLightShape sample = dolphinLightShape(1, 1, 1, 1, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0)\nConsole.Log(Text.From(sample.surfaceStyle))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_lightlab__dolphinlightshape\"\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":"7656b4660af4380d884364a3ab1d5ba19055f225e505224a6bc9c9b58d86a5d8","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["surfaceStyle","affine","dolphinLightShape"],"url":"https://demonhunterlabs.com/academy/api?item=dolphin.lightlab--dolphinLightShape","json":"https://demonhunterlabs.com/reference/items/dolphin.lightlab--dolphinLightShape.json","markdown":"https://demonhunterlabs.com/reference/text/dolphin.lightlab--dolphinLightShape.md"}
