Skip to main content

Class: SettingsUIElement

Constructors

new SettingsUIElement()

new SettingsUIElement(name, initialValue, onChange, min?, max?, options?): SettingsUIElement

Parameters

ParameterType
namestring
initialValuestring | number | boolean | Vector3
onChange(arg) => boolean
min?number
max?number
options?string[]

Returns

SettingsUIElement

Properties

initialValue

readonly initialValue: string | number | boolean | Vector3


max?

optional readonly max: number


min?

optional readonly min: number


name

readonly name: string


onChange()

readonly onChange: (arg) => boolean

Parameters

ParameterType
argstring | number | boolean | Vector3

Returns

boolean


options?

optional readonly options: string[]