Docs

TableProcessor


Class methods

addTablePoint

Adds a new table point (x and y are normalized coordinates).

TableProcessor.addTablePoint(int tableIndex, float x, float y)



exists

Checks if the Object exists and prints a error message on the console if not.

TableProcessor.exists()



exportAsBase64

Exports the state as base64 encoded string.

TableProcessor.exportAsBase64(int tableIndex)



getTable

Creates a ScriptTableData object for the given table.

TableProcessor.getTable(int tableIndex)



reset

Resets the table with the given index to a 0..1 line.

TableProcessor.reset(int tableIndex)



restoreFromBase64

Restores the state from a base64 encoded string.

TableProcessor.restoreFromBase64(int tableIndex,  String state)



setTablePoint

Sets the point with the given index to the values.

TableProcessor.setTablePoint(int tableIndex, int pointIndex, float x, float y, float curve)