Get 2d rotation in Canvas Item Vertex shader

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By darius.pranskus

Hello

Could someone advise, can I retrieve the 2D rotation of a Node2D object in a vertex shader using a built-in, or should I use a uniform for that. If possible, could someone share a code snippet.

Thank you.