1
0
mirror of https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git synced 2025-09-19 03:55:59 +08:00
Files
Godot-Shader-Lib/documentation/Nodes/UV/Rotate.md
Digvijaysinh Gohil e73385e903 Documentation overhaul
2024-02-26 22:13:45 +05:30

756 B

Rotate node

Rotates value of input UV around a reference point defined by input center by the amount of input rotation.

Default value for uv input will be vec2(0, 0) for shader modes PARTICLES, SKY and FOG to avoid errors becouse UV variable is not available for these modes.


Inputs

Name Type Binding Description
uv vec2 UV Input UV value
center vec2 none Center reference point
rotation float none Rotation amount in radians

Controls

Name Options Description
Units Degrees, Radians Specifies the unit for rotation input

Outputs

Name Type Binding Description
uv vec2 None Output UV value