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.

VisualShaderNodeIntConstant

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

標量整數常數,在視覺化著色器圖中使用。

說明

Translated to int in the shader language.

屬性

int

constant

0


屬性說明

int constant = 0 🔗

  • void set_constant(value: int)

  • int get_constant()

整數常數,代表該節點的狀態。