MCPcopy Index your code
hub / github.com/galacean/engine / push

Method push

packages/core/src/utils/SafeLoopArray.ts:17–20  ·  view source on GitHub ↗

* Push item to the array. * @param item - The item which want to be pushed

(item: T)

Source from the content-addressed store, hash-verified

15 * @param item - The item which want to be pushed
16 */
17 push(item: T): void {
18 this._array.push(item);
19 this._loopArrayDirty = true;
20 }
21
22 /**
23 * Add item to the array.

Callers 15

rollup.config.jsFile · 0.80
configFunction · 0.80
compressShaderFunction · 0.80
addShapeFunction · 0.80
addColliderMethod · 0.80
_removeColliderShapeMethod · 0.80
_fireEventMethod · 0.80
constructorMethod · 0.80
_parseMacroDefinesMethod · 0.80
createObjectPoolMethod · 0.80

Calls

no outgoing calls

Tested by 1

listenerFunction · 0.64