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

    Class FlickerBehavior

    A generalized behavior that encapsulates a flickering/glitching value (e.g. for broken lights, sparks, UI glitches). It calculates a multiplier (0.0 to 1.0) and passes it to the onUpdate callback.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    isActive: boolean = true
    options: Required<FlickerBehaviorOptions>
    target: CameraInterfaceData | Object3D | undefined = undefined

    The object this behavior is attached to. Set automatically.

    uuid: string = ...
    inspector: Record<string, InspectorField> = ...

    Methods