types.intΒΆ

type result types.int ( table desc )

Creates a integer number type. Ex: types.int {min=1,max=1000,step=10,slidermin=1,slidermax=100}

Arguments:

  • desc A table of the type specificities, such as {min=-10,max=10}. Acceptable indices are min, max, step, slidermin and slidermax

Return:

  • result The created type