Up to date

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

VisualShaderNodeVec4Constant

Inherits: VisualShaderNodeConstant < VisualShaderNode < Resource < RefCounted < Object

A 4D vector constant to be used within the visual shader graph.

Description

A constant 4D vector, which can be used as an input node.

Properties

Quaternion

constant

Quaternion(0, 0, 0, 1)


Property Descriptions

Quaternion constant = Quaternion(0, 0, 0, 1)

A 4D vector (represented as a Quaternion) constant which represents the state of this node.