mirror of
https://github.com/defold/extension-camera
synced 2025-06-27 10:27:45 +02:00
1.0 KiB
1.0 KiB
title, brief
title | brief |
---|---|
Defold camera extension API documentation | This manual covers how to use the camera on macOS, iOS and Android in Defold. |
Defold camera extension API documentation
This extension provides a unified, simple to use interface to capture images using the camera on macOS, iOS and Android.
Installation
To use this library in your Defold project, add the following URL to your game.project
dependencies:
https://github.com/defold/extension-camera/archive/master.zip
We recommend using a link to a zip file of a specific release.
Example
Refer to the example project.
FAQ
How do I reset macOS camera permission?
To test macOS camera permission popup multiple times you can reset the permission from the terminal:
tccutil reset Camera
Source code
The source code is available on GitHub