mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-20 17:39:46 +00:00
update doc/*/entity-properties.md
This commit is contained in:
parent
1ec159d2f6
commit
e7f030f226
2 changed files with 16 additions and 0 deletions
|
|
@ -132,6 +132,14 @@ The default value is the same as the entity name. Determines which skeleton will
|
|||
- *bone-based* - lighting is calculated for each skeletal bone separately.
|
||||
- *solid* - lighting is calculated for the entire entity.
|
||||
|
||||
### *translucent*
|
||||
|
||||
Enables translucency support in the entity textures (semi-transparent parts).
|
||||
Should only be used when needed, as it impacts performance.
|
||||
Not required for full transparency (cutout parts) and for fading the entity out with the skeleton tint alpha.
|
||||
|
||||
Default value: *false*.
|
||||
|
||||
## Saving/Loading
|
||||
|
||||
In addition to custom components, the engine automatically saves data from the built-in ones: transform, rigidbody, skeleton.
|
||||
|
|
|
|||
|
|
@ -132,6 +132,14 @@
|
|||
- *bone-based* - освещение рассчитывается для каждой кости скелета отдельно.
|
||||
- *solid* - освещение рассчитывается для всей сущности в целом.
|
||||
|
||||
### Полупрозрачность - *translucent*
|
||||
|
||||
Включает поддержку полупрозрачности в текстурах сущности.
|
||||
Следует использовать только при необходимости, так как влияет на производительность.
|
||||
Не требуется для полной прозрачности (вырезанных частей) и для затухания сущности через альфа-канал оттенка скелета.
|
||||
|
||||
Значение по-умолчанию: *false*.
|
||||
|
||||
## Сохранение/загрузка
|
||||
|
||||
Кроме данных пользовательских компонентов, движок автоматически сохраняет данные встроенных: transform, rigidbody, skeleton.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue