mirror of
https://github.com/Insality/druid.git
synced 2025-09-28 10:32:20 +02:00
Add Defold annotations
This commit is contained in:
26
annotations/defold/camera.lua
Normal file
26
annotations/defold/camera.lua
Normal file
@@ -0,0 +1,26 @@
|
||||
--[[
|
||||
Generated with github.com/astrochili/defold-annotations
|
||||
Defold 1.8.0
|
||||
|
||||
Camera API documentation
|
||||
|
||||
Messages to control camera components and camera focus.
|
||||
--]]
|
||||
|
||||
---@diagnostic disable: lowercase-global
|
||||
---@diagnostic disable: missing-return
|
||||
---@diagnostic disable: duplicate-doc-param
|
||||
---@diagnostic disable: duplicate-set-field
|
||||
|
||||
---@class defold_api.camera
|
||||
camera = {}
|
||||
|
||||
---makes camera active
|
||||
---@param url string|hash|url url of camera component
|
||||
function camera.acquire_focus(url) end
|
||||
|
||||
---deactivate camera
|
||||
---@param url string|hash|url url of camera component
|
||||
function camera.release_focus(url) end
|
||||
|
||||
return camera
|
Reference in New Issue
Block a user