Module view.fields.color_field

ColorField module.

Class ColorField

ColorField:ColorField (opts) ColorField constructor.


Class ColorField

ColorField class.
ColorField:ColorField (opts)
ColorField constructor.

Parameters:

  • opts Table
    • title string Title.
    • expand boolean Whether to expand the field in the Editor or open it with a button. (default false)

See also:

Usage:

     ColorField({
         name = "myColorField",
         value = {0.5, 1, 0.2},
     })
generated by LDoc 1.4.3 Last updated 2017-09-23 19:07:28