(data)
| 1837 | }, |
| 1838 | //Setters |
| 1839 | setCurrentData(data) { |
| 1840 | const size = data.length ? data.length : 1; |
| 1841 | // if (size != this.getDataSize()){ |
| 1842 | // p5._friendlyError(`Custom vertex property '${this.name}' has been set with various data sizes. You can change it's name, or if it was an accident, set '${this.name}' to have the same number of inputs each time!`, 'vertexProperty()'); |
| 1843 | // } |
| 1844 | this.currentData = data; |
| 1845 | }, |
| 1846 | // Utilities |
| 1847 | pushCurrentData(){ |
| 1848 | const data = this.getCurrentData(); |
no outgoing calls
no test coverage detected