Outdated documentation

This documentation page refers to Godot 4.3, and may be outdated or incorrect.
Additionally, this engine version is no longer supported.

Check this page in the stable branch for the latest additions and corrections.

VisualShaderNodeUIntParameter

Inherits: VisualShaderNodeParameter < VisualShaderNode < Resource < RefCounted < Object

A visual shader node for shader parameter (uniform) of type unsigned int.

Description

A VisualShaderNodeParameter of type unsigned int. Offers additional customization for range of accepted values.

Properties

int

default_value

0

bool

default_value_enabled

false


Property Descriptions

int default_value = 0 🔗

  • void set_default_value(value: int)

  • int get_default_value()

Default value of this parameter, which will be used if not set externally. default_value_enabled must be enabled; defaults to 0 otherwise.


bool default_value_enabled = false 🔗

  • void set_default_value_enabled(value: bool)

  • bool is_default_value_enabled()

If true, the node will have a custom default value.


User-contributed notes

Please read the User-contributed notes policy before submitting a comment.