Outdated documentation
This documentation page refers to Godot
4.3,
and may be outdated or incorrect.
Additionally, this engine version is
no longer supported.
Check this page in the stable branch for the latest additions and corrections.
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
|
Property Descriptions
Quaternion constant = Quaternion(0, 0, 0, 1) 🔗
void set_constant(value: Quaternion)
Quaternion get_constant()
A 4D vector (represented as a Quaternion) constant which represents the state of this node.