Topics

Note Selector

Attribute Commands 2

Tuesday, August 22, 2023

The following is a list of what will be the available attribute commands:

  • add/sub
  • mul_div
  • set

The following would be the typically syntax usage for attribute commands:

[Sub-Component] Command [Parameters]

Color Sub-Components

  • alpha/alpha_f
  • hue/hue_f
  • sat/sat_f
  • val/val_f

Examples

val_f add 0.1     // Adds 10% to value

alpha_f set 0.5   // Sets alpha to 50%

sat_f mul 0.75    // 75% saturation