Constructor
new Vector4Input(labelVector, step, value, labelsopt)
A custom element with four input fields for x, y, z and w values, and dispatches a 'change' event when any of the input values are changed.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
labelVector | string | A string that represents the label for the vector input. | |
step | number | A number that specifies the increment or decrement value for the input fields. | |
value | number | The initial value that will be set for all four input fields ( | |
labels | Array.<string> | <optional> | An optional array that contains the labels for the input fields. By default, it is set to |
Classes
Members
inputElements
The function returns an array of input elements.