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.

VisualShaderNodeUIntParameter

Inherits: VisualShaderNodeParameter < VisualShaderNode < Resource < RefCounted < Object

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

描述

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

属性

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.