Small World Engine API Reference - v0.76.20
    Preparing search index...

    Class ShakeEffect

    A screen shake effect for the camera, driven by a decaying "trauma" value (trauma^2 envelope, per Squirrel Eiserloh's GDC talk "Juicing Your Cameras With Math") and continuous simplex noise instead of per-frame white noise, so the shake reads as a smooth wobble rather than a jittery flicker.

    Hierarchy (View Summary)

    Index
    isFinished: boolean = false

    Whether the effect has finished its duration and should be removed.

    offset: Vector3D = ...

    The current position offset generated by this effect.

    targetOffset: Vector3D = ...

    The current target offset generated by this effect.

    type: CameraEffectType = CameraEffectType.SHAKE

    The unique type identifier of the effect.