mirror of
https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git
synced 2025-09-20 12:25:59 +08:00
UV nodes documentation updated
This commit is contained in:
@ -15,4 +15,18 @@ This node can be used to create a texture animation functionality, commonly used
|
||||
|Name|Type|Binding|Description|
|
||||
|---|---|---|---|
|
||||
|uv|vec2|None|Output UV value|
|
||||
|
||||
**ShaderInc location**
|
||||
<br>`res://addons/ShaderLib/UV/FlipbookUV.gdshaderinc`
|
||||
|
||||
**Method signature**
|
||||
<br>`vec2 flipbook_uv(vec2 uv, int rows, int columns, float anim_speed)`
|
||||
|
||||
**Parameters**
|
||||
|Name|Type|Description|
|
||||
|---|---|---|
|
||||
|uv|vec2|Input UV value|
|
||||
|rows|int|Amount of horizontal tiles in texture sheet|
|
||||
|columns|int|Amount of vertical tiles in texture sheet|
|
||||
|anim speed|float|Animation speed|
|
||||
___
|
Reference in New Issue
Block a user