MCPcopy Create free account
hub / github.com/melonjs/melonJS / current

Method current

packages/melonjs/src/renderable/sprite.js:320–322  ·  view source on GitHub ↗

* current frame information (name / index / texture offset & size / trim). * @type {object}

()

Source from the content-addressed store, hash-verified

318 * @type {object}
319 */
320 get current() {
321 return this._frameAnim.current;
322 }
323
324 /**
325 * elapsed time within the current animation frame, in milliseconds.

Callers 15

drawMethod · 0.45
onActivateEventMethod · 0.45
onDeactivateEventMethod · 0.45
onActivateEventMethod · 0.45
onDeactivateEventMethod · 0.45
updateMethod · 0.45
drawMethod · 0.45
captureDepthCameraFunction · 0.45
updateMethod · 0.45
bindMethod · 0.45
lights.spec.jsFile · 0.45
freshAlignmentStateFunction · 0.45

Calls

no outgoing calls

Tested by 2

freshAlignmentStateFunction · 0.36
freshLitStateFunction · 0.36