Attention: Here be dragons

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

VisualShaderNodeFloatConstant

繼承: VisualShaderNodeConstant < VisualShaderNode < Resource < RefCounted < Object

視覺化著色器圖中使用的浮點數標量常數。

說明

Translated to float in the shader language.

屬性

float

constant

0.0


屬性說明

float constant = 0.0 🔗

  • void set_constant(value: float)

  • float get_constant()

代表該節點狀態的浮點數常數。