<?xml version="1.0" encoding="UTF-8" ?>
<class name="VisualShaderNodeIntParameter" inherits="VisualShaderNodeParameter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
	<brief_description>
		A visual shader node for shader parameter (uniform) of type [int].
	</brief_description>
	<description>
		A [VisualShaderNodeParameter] of type [int]. Offers additional customization for range of accepted values.
	</description>
	<tutorials>
	</tutorials>
	<members>
		<member name="default_value" type="int" setter="set_default_value" getter="get_default_value" default="0">
			Default value of this parameter, which will be used if not set externally. [member default_value_enabled] must be enabled; defaults to [code]0[/code] otherwise.
		</member>
		<member name="default_value_enabled" type="bool" setter="set_default_value_enabled" getter="is_default_value_enabled" default="false">
			If [code]true[/code], the node will have a custom default value.
		</member>
		<member name="hint" type="int" setter="set_hint" getter="get_hint" enum="VisualShaderNodeIntParameter.Hint" default="0">
			Range hint of this node. Use it to customize valid parameter range.
		</member>
		<member name="max" type="int" setter="set_max" getter="get_max" default="100">
			The maximum value this parameter can take. [member hint] must be either [constant HINT_RANGE] or [constant HINT_RANGE_STEP] for this to take effect.
		</member>
		<member name="min" type="int" setter="set_min" getter="get_min" default="0">
			The minimum value this parameter can take. [member hint] must be either [constant HINT_RANGE] or [constant HINT_RANGE_STEP] for this to take effect.
		</member>
		<member name="step" type="int" setter="set_step" getter="get_step" default="1">
			The step between parameter's values. Forces the parameter to be a multiple of the given value. [member hint] must be [constant HINT_RANGE_STEP] for this to take effect.
		</member>
	</members>
	<constants>
		<constant name="HINT_NONE" value="0" enum="Hint">
			The parameter will not constrain its value.
		</constant>
		<constant name="HINT_RANGE" value="1" enum="Hint">
			The parameter's value must be within the specified [member min]/[member max] range.
		</constant>
		<constant name="HINT_RANGE_STEP" value="2" enum="Hint">
			The parameter's value must be within the specified range, with the given [member step] between values.
		</constant>
		<constant name="HINT_MAX" value="3" enum="Hint">
			Represents the size of the [enum Hint] enum.
		</constant>
	</constants>
</class>
