Creates a new FlashEffect.
The intensity of the flash.
The duration of the flash in seconds.
Whether the effect has finished its duration and should be removed.
ReadonlyoffsetThe current position offset generated by this effect.
ReadonlytargetThe current target offset generated by this effect.
ReadonlytypeThe unique type identifier of the effect.
A flash effect for the camera (simulated via target offset or potentially other means). Note: A real flash might need renderer support, but here we can simulate a 'jolt'.