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.

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 ( float value )

  • float get_constant ( )

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