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
|
Property Descriptions
Quaternion constant = Quaternion(0, 0, 0, 1)
void set_constant ( Quaternion value )
Quaternion get_constant ( )
A 4D vector (represented as a Quaternion) constant which represents the state of this node.