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

    Variable LightTypeConst

    LightType: {
        AMBIENT: "AmbientLight";
        AREA: "AreaLight";
        DIRECTIONAL: "DirectionalLight";
        POINT: "PointLight";
        SPOT: "SpotLight";
    } = ...

    Types of lights in the scene.

    Type Declaration

    • ReadonlyAMBIENT: "AmbientLight"

      Ambient light.

    • ReadonlyAREA: "AreaLight"

      Area light.

    • ReadonlyDIRECTIONAL: "DirectionalLight"

      Directional light.

    • ReadonlyPOINT: "PointLight"

      Point light.

    • ReadonlySPOT: "SpotLight"

      Spot light.