mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
update doc/*/scripting/builtins/libcameras.md
This commit is contained in:
parent
d6e6e32ef2
commit
57e397e692
2 changed files with 8 additions and 4 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,10 +5,12 @@
|
||||||
## Основные функции
|
## Основные функции
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
cameras.get(name: str) -> int
|
cameras.get(name: str) -> table
|
||||||
|
-- или
|
||||||
|
cameras.get(index: int) -> table
|
||||||
```
|
```
|
||||||
|
|
||||||
Возвращает камеру по имени.
|
Возвращает камеру по имени или индексу.
|
||||||
|
|
||||||
## Методы камеры
|
## Методы камеры
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue