{"id":"dolphin.authoring--DolphinObjectIndex","name":"DolphinObjectIndex","owner":"dolphin","package":"dolphin.authoring","kind":"function","signature":"external DolphinObjectIndex(dolphinSceneDocument original doc,int id) returns int","description":"Dolphin object index.","context":"Represent editable scenes and graph canvases, validate edits, and manage undoable transactions.","parameters":[{"name":"doc","type":"dolphinSceneDocument original","description":"Supply doc as dolphinSceneDocument original."},{"name":"id","type":"int","description":"Supply id as int."}],"returns":"int","members":[],"tags":["authoring","cpu","dolphin","dolphin.authoring","function","source-example"],"updated":"2026-09-09","source":{"repository":"dolphin","path":"packages/authoring/src/authoring.yh","line":23,"sha256":"f1b04c15647d6b2cca9605baa22ec4280b12cd59472c9ead754eb6ebcc4a99cc"},"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 DolphinObjectIndex","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using dolphin.authoring\n\n// Represent editable scenes and graph canvases, validate edits, and manage undoable transactions.\ndolphinSceneDocument doc = dolphinSceneDocument()\nint id = 1\nint result = DolphinObjectIndex(doc, id)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_authoring__dolphinobjectindex\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"dolphin.authoring\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/authoring\"\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":"2668e5561aa9474c22d9a4790b7b5bcc891055b8ab55ed144d7e21a1d1fdc9a2","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=dolphin.authoring--DolphinObjectIndex","json":"https://demonhunterlabs.com/reference/items/dolphin.authoring--DolphinObjectIndex.json","markdown":"https://demonhunterlabs.com/reference/text/dolphin.authoring--DolphinObjectIndex.md"}
