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

This commit is contained in:
MihailRis 2026-07-21 22:53:22 +03:00
parent e829bf7912
commit 3c7b7a9318
2 changed files with 4 additions and 4 deletions

View file

@ -54,12 +54,12 @@ entities.get_all() -> table
-- Returns a table of loaded entities based on the passed list of UIDs -- Returns a table of loaded entities based on the passed list of UIDs
entities.get_all(uids: array<int>) -> table entities.get_all(uids: array<int>) -> table
-- Returns a list of UIDs of entities inside the rectangular area -- Returns a list of UIDs of entities with origin inside the rectangular area
-- pos - minimal area corner -- pos - minimal area corner
-- size - area size -- size - area size
entities.get_all_in_box(pos: vec3, size: vec3) -> array<int> entities.get_all_in_box(pos: vec3, size: vec3) -> array<int>
-- Returns a list of UIDs of entities inside the radius -- Returns a list of UIDs of entities with origin inside the radius
-- center - center of the area -- center - center of the area
-- radius - radius of the area -- radius - radius of the area
entities.get_all_in_radius(center: vec3, radius: number) -> array<int> entities.get_all_in_radius(center: vec3, radius: number) -> array<int>

View file

@ -53,12 +53,12 @@ entities.get_all() -> table
-- Возвращает таблицу загруженных сущностей по переданному списку UID -- Возвращает таблицу загруженных сущностей по переданному списку UID
entities.get_all(uids: table<int>) -> table entities.get_all(uids: table<int>) -> table
-- Возвращает список UID сущностей, попадающих в прямоугольную область -- Возвращает список UID сущностей, позиции которых попадают в прямоугольную область
-- pos - минимальный угол области -- pos - минимальный угол области
-- size - размер области -- size - размер области
entities.get_all_in_box(pos: vec3, size: vec3) -> table<int> entities.get_all_in_box(pos: vec3, size: vec3) -> table<int>
-- Возвращает список UID сущностей, попадающих в радиус -- Возвращает список UID сущностей, позиции которых попадают в радиус
-- center - центр области -- center - центр области
-- radius - радиус области -- radius - радиус области
entities.get_all_in_radius(center: vec3, radius: number) -> table<int> entities.get_all_in_radius(center: vec3, radius: number) -> table<int>