Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

VisualShaderNodeRotationByAxis

Inherits: VisualShaderNode < Resource < RefCounted < Object

A visual shader node that modifies the rotation of the object using a rotation matrix.

Description

RotationByAxis node will transform the vertices of a mesh with specified axis and angle in radians. It can be used to rotate an object in an arbitrary axis.