update doc/*/scripting/ui.md
This commit is contained in:
parent
f21d9d0a25
commit
64375c4b28
@ -195,6 +195,11 @@ Here, *color* can be specified in the following ways:
|
||||
| data:set_data(data: table<int>) | replaces pixel data (width * height * 4 numbers) |
|
||||
| data:create_texture(name: str) | creates and shares texture to renderer |
|
||||
|
||||
## Inline frame (iframe)
|
||||
|
||||
| Name | Type | Read | Write | Description |
|
||||
|----------|--------|------|-------|-----------------------------|
|
||||
| src | string | yes | yes | id of the embedded document |
|
||||
|
||||
## Inventory
|
||||
|
||||
|
||||
@ -196,11 +196,17 @@ document["worlds-panel"]:clear()
|
||||
| data:set_data(data: table<int>) | заменяет данные пикселей (ширина * высота * 4 чисел) |
|
||||
| data:create_texture(name: str) | создаёт и делится текстурой с рендерером |
|
||||
|
||||
## Inventory (inventory)
|
||||
## Рамка встраивания (iframe)
|
||||
|
||||
| Название | Тип | Чтение | Запись | Описание |
|
||||
|----------|--------|--------|--------|----------------------------|
|
||||
| src | string | да | да | id встраиваемого документа |
|
||||
|
||||
## Инвентарь (inventory)
|
||||
|
||||
Свойства:
|
||||
|
||||
| Название | Тип | Чтение | Запись | Описание |
|
||||
| --------- | --- | ------ | ------ | ----------------------------------------- |
|
||||
|-----------|-----|--------|--------|-------------------------------------------|
|
||||
| inventory | int | да | да | id инвентаря, к которому привязан элемент |
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user