Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

VisualShaderNodeIntConstant

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

标量整数常量,在可视化着色器图中使用。

描述

翻译为着色器语言中的 int

属性

int

constant

0


属性说明

int constant = 0

  • void set_constant ( int value )

  • int get_constant ( )

整数常量,代表该节点的状态。