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

    Class ShakeEffect

    A screen shake effect for the camera.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    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.

    Methods