{"id":"dolphin.projection3d--dolphinProjection","name":"dolphinProjection","owner":"dolphin","package":"dolphin.projection3d","kind":"thing","signature":"external thing dolphinProjection","description":"A dolphin projection record carrying valid, x, y, depth.","context":"Project 3D points into an orthographic 2D view with an inspectable camera.","parameters":[],"returns":"void","members":[{"name":"valid","kind":"field","type":"bool","description":"Stores valid as bool.","signature":"bool valid","tags":["thing","field","dolphin.projection3d"],"updated":"2026-09-09"},{"name":"x","kind":"field","type":"float","description":"Stores x as float.","signature":"float x","tags":["thing","field","dolphin.projection3d"],"updated":"2026-09-09"},{"name":"y","kind":"field","type":"float","description":"Stores y as float.","signature":"float y","tags":["thing","field","dolphin.projection3d"],"updated":"2026-09-09"},{"name":"depth","kind":"field","type":"float","description":"Stores depth as float.","signature":"float depth","tags":["thing","field","dolphin.projection3d"],"updated":"2026-09-09"},{"name":"dolphinProjection","kind":"constructor","parameters":[{"name":"valid","type":"bool","description":"Valid."},{"name":"x","type":"float","description":"X."},{"name":"y","type":"float","description":"Y."},{"name":"depth","type":"float","description":"Depth."}],"returns":"void","signature":"dolphinProjection(bool valid, float x, float y, float depth)","description":"Dolphin projection.","tags":["thing","constructor","dolphin.projection3d"],"updated":"2026-09-09"}],"tags":["cpu","dolphin","dolphin.projection3d","projection3d","source-example","thing"],"updated":"2026-09-09","source":{"repository":"dolphin","path":"packages/projection3d/src/projection.yh","line":4,"sha256":"3d682e17886dc939ed3fe3eae3c10484a64e939a5529ad13300665d270e56040"},"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 dolphinProjection","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using dolphin.projection3d\n\n// Project 3D points into an orthographic 2D view with an inspectable camera.\ndolphinProjection sample = dolphinProjection(true, 1.0, 1.0, 1.0)\nConsole.Log(Text.From(sample.valid))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_projection3d__dolphinprojection\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"dolphin.math\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/math\"\n\n[[dependencies]]\npackage = \"dolphin.projection3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/projection3d\"\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":"0cf1b288aa033929935a01761615cc81bbd79c572175411f0fc890b221b16238","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["valid","x","y","depth","dolphinProjection"],"url":"https://demonhunterlabs.com/academy/api?item=dolphin.projection3d--dolphinProjection","json":"https://demonhunterlabs.com/reference/items/dolphin.projection3d--dolphinProjection.json","markdown":"https://demonhunterlabs.com/reference/text/dolphin.projection3d--dolphinProjection.md"}
