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.

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.