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**
|
2024-07-21 16:39:45 +05:30
|
|
|
<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
|
|
|
___
|