Skip to content

VisualShaderNodeFloatConstant

Inherits: VisualShaderNodeConstant < VisualShaderNode < Resource < RefCounted < Object

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

Translated to float in the shader language.

Type Name Default
float constant 0.0

constant

float constant = 0.0

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