Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.UIEngine2.Modules.Palettes.PaletteColorPicker Class Reference

Detailed Description

The component that binds UI element to the Doloro UI engine's Palette module.

Inheritance diagram for Doloro.UIEngine2.Modules.Palettes.PaletteColorPicker:
Collaboration diagram for Doloro.UIEngine2.Modules.Palettes.PaletteColorPicker:

Public Member Functions

bool TryPickColor (out Color color)
 Trying to load color from a loaded palette. More...
 

Protected Member Functions

virtual void Start ()
 
virtual void OnDestroy ()
 Releases event handlers.
 
virtual void OnPaletteChanged ()
 Handler that occurs when source palette has been changed.
 

Properties

PaletteSourceMode SourceMode [get, set]
 Defines the source of using palette.
 
PaletteColorMode ColorMode [get, set]
 Defines that color picking from the source palette.
 

Member Function Documentation

◆ TryPickColor()

bool Doloro.UIEngine2.Modules.Palettes.PaletteColorPicker.TryPickColor ( out Color  color)

Trying to load color from a loaded palette.

Parameters
colorPicked color. Black in case if there is no palette.
Returns
Is the call has been picked.

The documentation for this class was generated from the following file: