VisualShaderNodeIntConstant

Inherits: VisualShaderNodeConstant < VisualShaderNode < Resource < RefCounted < Object

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

Description

Translated to int in the shader language.

Properties

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.

Previous Next


© Copyright 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision 53e837c6.

Built with Sphinx using a theme provided by Read the Docs.