跳转到内容

ColorPickerOptions

此内容尚不支持你的语言。

Defined in: ui/widgets/color-picker.ts:20

Explicit callbacks bind the same picker to UI, sprites, materials, or project data.

optional alphaEnabled?: boolean

Defined in: ui/widgets/color-picker.ts:26


optional color?: Color

Defined in: ui/widgets/color-picker.ts:25


events: EntityEventQueue

Defined in: ui/widgets/color-picker.ts:22


optional format?: number

Defined in: ui/widgets/color-picker.ts:27


optional history?: readonly Color[]

Defined in: ui/widgets/color-picker.ts:28


optional historyLimit?: number

Defined in: ui/widgets/color-picker.ts:29


optional node?: UINodeInit

Defined in: ui/widgets/color-picker.ts:24


optional onChange?: (color) => void

Defined in: ui/widgets/color-picker.ts:31

Color

void


optional onHistoryChange?: (colors) => void

Defined in: ui/widgets/color-picker.ts:32

readonly Color[]

void


optional parent?: number

Defined in: ui/widgets/color-picker.ts:23


optional rememberColors?: boolean

Defined in: ui/widgets/color-picker.ts:30


world: World

Defined in: ui/widgets/color-picker.ts:21