ColorPickerOptions
此内容尚不支持你的语言。
Defined in: ui/widgets/color-picker.ts:20
Explicit callbacks bind the same picker to UI, sprites, materials, or project data.
Properties
Section titled “Properties”alphaEnabled?
Section titled “alphaEnabled?”
optionalalphaEnabled?:boolean
Defined in: ui/widgets/color-picker.ts:26
color?
Section titled “color?”
optionalcolor?:Color
Defined in: ui/widgets/color-picker.ts:25
events
Section titled “events”events:
EntityEventQueue
Defined in: ui/widgets/color-picker.ts:22
format?
Section titled “format?”
optionalformat?:number
Defined in: ui/widgets/color-picker.ts:27
history?
Section titled “history?”
optionalhistory?: readonlyColor[]
Defined in: ui/widgets/color-picker.ts:28
historyLimit?
Section titled “historyLimit?”
optionalhistoryLimit?:number
Defined in: ui/widgets/color-picker.ts:29
optionalnode?:UINodeInit
Defined in: ui/widgets/color-picker.ts:24
onChange?
Section titled “onChange?”
optionalonChange?: (color) =>void
Defined in: ui/widgets/color-picker.ts:31
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void
onHistoryChange?
Section titled “onHistoryChange?”
optionalonHistoryChange?: (colors) =>void
Defined in: ui/widgets/color-picker.ts:32
Parameters
Section titled “Parameters”colors
Section titled “colors”readonly Color[]
Returns
Section titled “Returns”void
parent?
Section titled “parent?”
optionalparent?:number
Defined in: ui/widgets/color-picker.ts:23
rememberColors?
Section titled “rememberColors?”
optionalrememberColors?:boolean
Defined in: ui/widgets/color-picker.ts:30
world:
World
Defined in: ui/widgets/color-picker.ts:21