CVSyncText adds the classes TextField, TextView, StaticText to CV: *viewDictionary so they can be used in combination with CVs. However, this only makes sense if their strings compile to a numeric array. Compilation here means that on any call for the CV's current value the element's string variable gets interpreted. Hence, any expression or function call that compiles to a numeric array can be used.
The array in the CV's value may contain Integers and/or Floats which may have many decimals. For these may be rounded to a reasonable number - by default valRound
is set to 2 decimals (0.01
)
rounding decimals, given as Float
update the view when the model has changed
changer |
the model |
what |
the message - here |
... moreArgs |
this (a CVSyncText
)
Set the CV: -value the element's interpreted string (must be a numeric Array)
this (a CVSyncText
)