Integer

Creates an integer (whole number) value.


Inputs

  • value

    • The integer value to output.
  • default

    • The default value to output when the set to default input is set to true or the value input is null.
  • set to default

    • Sets the value input to the value defined by the default input.
  • min/max mode

    • The mode in which the value input is constrained. See the Note(s) section below for more information.
  • min

    • The minimum value of the slider range.
  • max

    • The maximum value of the slider range.
  • hide control

    • Hides the parameter control within the parameter panel when the node is parameterized.
  • hide label

    • Hides the parameter label (name) within the parameter panel when the node is parameterized.
  • hide input field

    • Hides the parameter input field within the parameter panel when the node is parameterized.
  • hide slider

    • Hides the parameter slider within the parameter panel when the node is parameterized.

Outputs

value

  • The integer value as defined by the value input.

input is null

  • Outputs a boolean value that indicates whether the value input is null (true) or not (false).

Notes

  • When parameterized this node will appear as a slider and input field in the parameter panel.

  • Setting a min/max mode input to Soft will allow values outside the range of the values defined by the relevant min and max inputs. Setting it to Hard will not allow values outside the range of the values defined by the relevant min and max inputs (thus clamping any values to this range).

  • Other names for this node include: IntegerValue, Whole, Number, and Parameter.

Examples