ReadonlyflashTint color for this effect's flash contribution.
ReadonlyflashThis effect's contribution to the post-processing screen flash, in [0, 1].
ReadonlyisWhether the effect has finished its duration and should be removed.
ReadonlyoffsetThe current position offset generated by this effect.
ReadonlypitchPitch (X-axis) rotation offset in radians, applied to the view direction.
ReadonlytargetThe current target offset generated by this effect.
ReadonlytypeThe unique type identifier of the effect.
ReadonlyyawYaw (Y-axis) rotation offset in radians, applied to the view direction.
OptionalmergeAttempts to merge an incoming same-type effect into this one instead of it being added as a separate, independently-decaying instance (e.g. re-triggering Shake accumulates trauma into the already-active instance instead of stacking).
The newly requested effect of the same type.
true if other was absorbed into this effect (caller should discard other
and not add it), false to add other as a new, independent effect.
Updates the effect state based on elapsed time.
Time elapsed since the last frame in seconds.
Interface for camera effects that can be applied to a camera. Effects modify the position and target of the camera over time, and may also drive rotation (pitch/yaw) or a post-processing screen flash.