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

Inherits: VisualShaderNodeConstant < VisualShaderNode < Resource < RefCounted < Object

A scalar integer constant to be used within the visual shader graph.

描述

Translated to int in the shader language.

属性

int

constant

0


Property Descriptions

int constant = 0

  • void set_constant ( int value )

  • int get_constant ( )

An integer constant which represents a state of this node.