MCPcopy Index your code
hub / github.com/processing/p5.js / getCurrentData

Method getCurrentData

src/webgl/p5.Geometry.js:1817–1822  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1815 return this.name;
1816 },
1817 getCurrentData(){
1818 if (this.currentData === undefined) {
1819 this.currentData = new Array(this.getDataSize()).fill(0);
1820 }
1821 return this.currentData;
1822 },
1823 getDataSize() {
1824 return this.dataSize;
1825 },

Callers 1

pushCurrentDataMethod · 0.95

Calls 2

getDataSizeMethod · 0.95
fillMethod · 0.45

Tested by

no test coverage detected