From b1326e45549ba9c9e2d22295bb8eb88db4ea4db5 Mon Sep 17 00:00:00 2001 From: Sebastian Fieber Date: Fri, 20 Jun 2025 22:00:02 +0200 Subject: [PATCH] update doc for getTextureAt --- files/lua_api/openmw/core.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/files/lua_api/openmw/core.lua b/files/lua_api/openmw/core.lua index 74738a7c4d..7a212a10ea 100644 --- a/files/lua_api/openmw/core.lua +++ b/files/lua_api/openmw/core.lua @@ -461,7 +461,10 @@ -- @return #number --- --- Get the terrain texture at a given location. +-- Get the terrain texture at a given location. As textures are blended and +-- multiple textures can be at one specific position the texture whose center is +-- closest to the position will be returned. +-- -- @function [parent=#Land] getTextureAt -- @param openmw.util#Vector3 position -- @param #any cellOrName cell or cell name in their exterior world space to query