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

    Variable OscillatorTypeConst

    OscillatorType: {
        COSINE: "cosine";
        DEFAULT: "sine";
        NOISE: "noise";
        SINE: "sine";
    } = ...

    Defines the mathematical function used by an oscillator.

    Type Declaration

    • ReadonlyCOSINE: "cosine"
    • ReadonlyDEFAULT: "sine"

      The function assumed when none is specified.

    • ReadonlyNOISE: "noise"
    • ReadonlySINE: "sine"