1
0
mirror of https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git synced 2025-09-19 11:56:01 +08:00
Files
Godot-Shader-Lib/documentation/Nodes/Geometry/Mesh.md
2024-07-21 16:39:45 +05:30

21 lines
512 B
Markdown

# Mesh node
Provides accees to node's position and scale in world space.
<hr>
**Outputs**
|Name|Type|Binding|Description|
|---|---|---|---|
|position|vec3|None|Node/object position in world space|
|scale|vec3|None|Node/object scale in world space|
**ShaderInc location**
<br>`res://addons/ShaderLib/Geometry/Geometry.gdshaderinc`
**Method signature**
<br>`vec3 geometry_node_scale_world(mat4 model_matrix)`
**Parameters**
|Name|Type|Description|
|---|---|---|
|model_matrix|mat4|Model matrix of the mesh|
___