MCPcopy
hub / github.com/phaserjs/phaser / clearAlpha

Method clearAlpha

types/phaser.d.ts:18044–18044  ·  view source on GitHub ↗

* Clears all alpha values associated with this Game Object. * * Immediately sets the alpha levels back to 1 (fully opaque).undefined * @returns This Game Object instance.

()

Source from the content-addressed store, hash-verified

18042 * @returns This Game Object instance.
18043 */
18044 clearAlpha(): this;
18045 /**
18046 * Set the Alpha level of this Game Object. The alpha controls the opacity of the Game Object as it renders.
18047 * Alpha values are provided as a float between 0, fully transparent, and 1, fully opaque.

Callers 3

Layer.jsFile · 0.65
Alpha.test.jsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected