Attention

You are reading the latest (unstable) version of this documentation, which may document features not available or compatible with Godot 3.x.

Work in progress

Godot documentation is being updated to reflect the latest changes in version 4.0. Some documentation pages may still state outdated information. This banner will tell you if you're reading one of such pages.

The contents of this page are up to date. If you can 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.