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

21 lines
512 B
Markdown
Raw Normal View History

2024-02-26 22:13:45 +05:30
# 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|
2024-04-15 22:20:05 +05:30
**ShaderInc location**
<br>`res://addons/ShaderLib/Geometry/Geometry.gdshaderinc`
2024-04-15 22:20:05 +05:30
**Method signature**
<br>`vec3 geometry_node_scale_world(mat4 model_matrix)`
**Parameters**
|Name|Type|Description|
|---|---|---|
|model_matrix|mat4|Model matrix of the mesh|
2024-02-26 22:13:45 +05:30
___