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.

VisualShaderNodeFloatConstant

Inherits: VisualShaderNodeConstant < VisualShaderNode < Resource < RefCounted < Object

A scalar floating-point constant to be used within the visual shader graph.

Description

Translated to float in the shader language.

Properties

float

constant

0.0


Property Descriptions

float constant = 0.0 🔗

  • void set_constant(value: float)

  • float get_constant()

A floating-point constant which represents a state of this node.


User-contributed notes

Please read the User-contributed notes policy before submitting a comment.