Work in progress

Godot documentation is being updated to reflect the latest changes in version 4.0. Some documentation pages may still state outdated information. This banner will tell you if you're reading one of such pages.

The contents of this page are up to date. If you can still find outdated information, please open an issue.

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 ( int value )

  • 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 ( bool value )

  • bool is_default_value_enabled ( )

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