update doc/*/scripting/builtins/libcameras.md

This commit is contained in:
MihailRis 2024-10-15 04:38:18 +03:00
parent d6e6e32ef2
commit 57e397e692
2 changed files with 8 additions and 4 deletions

View File

@ -5,10 +5,12 @@ Cameras manipulation library.
## Main functions ## Main functions
```lua ```lua
cameras.get(name: str) -> int cameras.get(name: str) -> table
-- or
cameras.get(index: int) -> table
``` ```
Returns a camera by name. Returns a camera by name or index.
## Camera methods ## Camera methods

View File

@ -5,10 +5,12 @@
## Основные функции ## Основные функции
```lua ```lua
cameras.get(name: str) -> int cameras.get(name: str) -> table
-- или
cameras.get(index: int) -> table
``` ```
Возвращает камеру по имени. Возвращает камеру по имени или индексу.
## Методы камеры ## Методы камеры