Attention: Here be dragons (unstable version)

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Redot.

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.