{"id":"dolphin.projection3d--DolphinProjectOrthographic","name":"DolphinProjectOrthographic","owner":"dolphin","package":"dolphin.projection3d","kind":"function","signature":"external DolphinProjectOrthographic(Vector3 point, float yaw, float pitch, float pixelsPerUnit, float centerX, float centerY) returns dolphinProjection","description":"Project a 3D point into a 2D view using camera angles, scale, and screen center. Check the result's valid flag.","context":"Project 3D points into an orthographic 2D view with an inspectable camera.","parameters":[{"name":"point","type":"Vector3","description":"Supply point as Vector3."},{"name":"yaw","type":"float","description":"Supply yaw as float."},{"name":"pitch","type":"float","description":"Supply pitch as float."},{"name":"pixelsPerUnit","type":"float","description":"Supply pixels per unit as float."},{"name":"centerX","type":"float","description":"Supply center x as float."},{"name":"centerY","type":"float","description":"Supply center y as float."}],"returns":"dolphinProjection","members":[],"tags":["cpu","dolphin","dolphin.projection3d","function","projection3d","source-example"],"updated":"2026-09-09","source":{"repository":"dolphin","path":"packages/projection3d/src/projection.yh","line":22,"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 DolphinProjectOrthographic","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.\nVector3 point = Vector3(1.0, 1.0, 1.0)\nfloat yaw = 1.0\nfloat pitch = 1.0\nfloat pixelsPerUnit = 1.0\nfloat centerX = 1.0\nfloat centerY = 1.0\ndolphinProjection result = DolphinProjectOrthographic(point, yaw, pitch, pixelsPerUnit, centerX, centerY)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_projection3d__dolphinprojectorthographic\"\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":"5fdc6ed1bf8c9039e653a26f1760edf36b6133e63d24e33bf50ec77526a5e380","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=dolphin.projection3d--DolphinProjectOrthographic","json":"https://demonhunterlabs.com/reference/items/dolphin.projection3d--DolphinProjectOrthographic.json","markdown":"https://demonhunterlabs.com/reference/text/dolphin.projection3d--DolphinProjectOrthographic.md"}
