Function

camFlash

(flashColor: Color, fadeOutTime: number): TimerController

param flashColor- The color of the flash.

param fadeOutTime- The time it takes for the flash to fade out.

deprecated use

onClick(() => {
    // flashed
    camFlash(WHITE, 0.5)
})

returns A timer controller.

since v3001.0

group Rendering

subgroup Camera

kaplay logo

Components