{"id":13749719,"url":"https://github.com/hansemannn/titanium-arkit","last_synced_at":"2025-04-15T20:42:19.353Z","repository":{"id":142791323,"uuid":"93434918","full_name":"hansemannn/titanium-arkit","owner":"hansemannn","description":"Use the iOS 11 ARKit API in Axway Titanium","archived":false,"fork":false,"pushed_at":"2018-05-11T13:26:23.000Z","size":36,"stargazers_count":28,"open_issues_count":3,"forks_count":6,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-29T01:11:17.220Z","etag":null,"topics":["appcelerator","arkit","axway","ios11","javascript","native","titanium"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hansemannn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-05T18:33:58.000Z","updated_at":"2021-09-08T13:21:34.000Z","dependencies_parsed_at":"2023-03-18T06:00:33.318Z","dependency_job_id":null,"html_url":"https://github.com/hansemannn/titanium-arkit","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-arkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-arkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-arkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-arkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hansemannn","download_url":"https://codeload.github.com/hansemannn/titanium-arkit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249151666,"owners_count":21221089,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["appcelerator","arkit","axway","ios11","javascript","native","titanium"],"created_at":"2024-08-03T07:01:10.842Z","updated_at":"2025-04-15T20:42:19.321Z","avatar_url":"https://github.com/hansemannn.png","language":"Objective-C","funding_links":[],"categories":["Objective-C"],"sub_categories":[],"readme":"# ARKit in Axway Titanium SDK\n\nUse the iOS 11+ ARKit framework in the Axway Titanium SDK.\n\n## Thoughts\n\nSupporting ARKit does not simply mean to write some public methods that people can use to \"support ARKit in their app\".\nIt means to write API's for SceneKit, SpriteKit, ARKit and all bindings around those frameworks. The current implementation starts by creating\nnew scene-views where objects can be placed in.\n\nThat's why it is not clear, yet, what kind of API's should be supported and which one don't. I would recommend everyone to open a\nnew issue and leave his/her thoughts regarding their ARKit use-case with Titanium, so the explicit implementation can be scoped.\n\nUntil then, it does not make sense to port ARKit example to Titanium, since they will always be limited to the exact example-usage, without the\npossibility of customizations.\n\n## Requirements\n\n- [x] Titanium SDK 6.2.0 and later\n- [x] Xcode 9 and later\n- [x] iOS 11 and later\n- [x] Basic knowledge of computer-graphics and vector-/matrix-operations 😚\n- [x] Creativity!\n\n## Documentation\n\n### `isSupported()`\nWhether the current device supports this `ARKit`.\n\n### `SceneView`\nA ARKit scene-view. Create with `createSceneView(args)`.\n\n#### Methods\n\n##### `run(args)`\nRuns the session with the provided configuration. Optional parameters:\n- `planeDetection` (Number): Type of planes to detect in the scene.\n  - `PLANE_DETECTION_NONE`\n  - `PLANE_DETECTION_HORIZONTAL`\n- `worldAlignment` (Number): Determines how the coordinate system should be aligned with the world.\n  - `WORLD_ALIGNMENT_CAMERA`\n  - `WORLD_ALIGNMENT_GRAVITY`\n  - `WORLD_ALIGNMENT_GRAVITY_AND_HEADING`\n- `lightEstimationEnabled` (Boolean): Enable or disable light estimation.\n- `providesAudioData` (Boolean): Determines whether to capture and provide audio data.\n\n##### `pause()`\nPauses the session.\n\n##### `addAnchor(args)`\nAdds an anchor to the session. Has to be a 4x4 matrix represented by a multi-dimensional array, e.g.\n```js\nsceneView.addAnchor([[1, 2, 3, 4], [5, 6, 7, 8], [9, 0, 1, 2], [3, 4, 5, 6]]);\n```\n\n##### `removeAnchor(args)`\nRemoves an anchor from the session. Has to be a 4x4 matrix like in `addAnchor`.\n\n#### Properties\n\n##### `automaticallyUpdatesLightning`\nDetermines whether the view will update the scene’s lighting.\n\n##### `showStatistics`\nDetermines whether the receiver should display statistics info like FPS.\n\n## Author\nHans Knöchel ([@hansemannnn](https://twitter.com/hansemannnn) / [Web](http://hans-knoechel.de))\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansemannn%2Ftitanium-arkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhansemannn%2Ftitanium-arkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansemannn%2Ftitanium-arkit/lists"}