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

Method globalAlpha

packages/melonjs/src/video/renderer.js:680–682  ·  view source on GitHub ↗

* return the current global alpha * @returns {number}

()

Source from the content-addressed store, hash-verified

678 * @returns {number}
679 */
680 globalAlpha() {
681 return this.currentColor.alpha;
682 }
683
684 /**
685 * check if the given rect or bounds overlaps with the renderer screen coordinates

Callers 2

preDrawMethod · 0.80
preDrawMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected