mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 10:31:50 +00:00
update doc/*/entity-properties.md
This commit is contained in:
parent
8911cded07
commit
600730d57e
2 changed files with 10 additions and 0 deletions
|
|
@ -127,6 +127,11 @@ Defines the entity's material (same as for blocks).
|
|||
|
||||
The default value is the same as the entity name. Determines which skeleton will be used by the entity. See [rigging](rigging.md).
|
||||
|
||||
### *lighting-mode*
|
||||
|
||||
- *bone-based* - lighting is calculated for each skeletal bone separately.
|
||||
- *solid* - lighting is calculated for the entire entity.
|
||||
|
||||
## Saving/Loading
|
||||
|
||||
In addition to custom components, the engine automatically saves data from the built-in ones: transform, rigidbody, skeleton.
|
||||
|
|
|
|||
|
|
@ -127,6 +127,11 @@
|
|||
|
||||
Значение по-умолчанию совпадает с именем сущности. Определяет то, какой скелет будет использоваться сущностью. См. [риггинг](rigging.md).
|
||||
|
||||
### Тип освещения - *lighting-mode*
|
||||
|
||||
- *bone-based* - освещение рассчитывается для каждой кости скелета отдельно.
|
||||
- *solid* - освещение рассчитывается для всей сущности в целом.
|
||||
|
||||
## Сохранение/загрузка
|
||||
|
||||
Кроме данных пользовательских компонентов, движок автоматически сохраняет данные встроенных: transform, rigidbody, skeleton.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue