USER Matrix

Displays or sets cells of a matrix. Cells values of the matrix are contained in a array row by row.

Different mouse mode are available to interact with cells.

Settings

matrix size

Size of the matrix, deducted from num of cols and num of rows.

num of cols

Number of columns of the matrix.

num of rows

Number of row of the matrix.

mouse mode

Mouse interaction mode with cells

  • toggle : mouse click toggle the cell value to 0 or cell draw val
  • fade : mouse move (up/down) shift the cell value between 0 and cell draw val
  • draw : mouse move
  • lock : the matrix is mouse locked, no mouse interaction
  • edit : the matrix is mouse locked, but last click col, last click row and last click sel event are fired
  • default : toggle

cell draw val

Precision coefficient for the mouse interaction with cells.

randomize

Sets cells to random values.

  • in fade mode : between 0 and cell draw val.
  • other mode : 0 or cell draw val.

reset

Resets all cells to the reset val value.

random coverage

Amount of randomization, from 0, no randomization to 1, all is randomized.

last click cell

Last cell index clicked.

last click row

Last cell row clicked.

last click col

Last cell column clicked.

cells val

Input array to populate the matrix cells.

the cells values should be in the range [0..1]

cells out

Output array containing the matrix cells values.

cursor pos

Set the cursor position.

orientation can be set in its design tab

cursor out

Array which contains values of cells at cursor output.

cells caption

Comma-text array to populate the matrix cells captions.

See also

version 3.0.141

Edit All Pages