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

    Class PulsatingBehavior

    A generic behavior that generates a pulsating value (sine wave) over time and applies it via a callback function.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    isActive: boolean = true
    max: number
    maxDuration: number
    min: number
    minDuration: number
    onUpdate: (value: number, targetObj: Object3D) => void
    target: CameraInterfaceData | Object3D | undefined = undefined

    The object this behavior is attached to. Set automatically.

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

    Methods