@nativescript-community/ui-massifmaps
    Preparing search index...

    Interface OptionsSpec_light

    interface OptionsSpec_light {
        ambientColor?: number;
        ambientIntensity?: number;
        dayCycleLightsEnabled?: boolean;
        dayCycleLightStops?: Json;
        dayCycleRisingLightStops?: Json;
        shadowBias?: number;
        shadowCascades?: number;
        shadowCasterMargin?: number;
        shadowDistance?: number;
        shadowMapSize?: number;
        shadowNormalOffset?: number;
        shadowSoftness?: number;
        shadowStrength?: number;
        sunAltitude?: number;
        sunAzimuth?: number;
        sunColor?: number;
        sunIntensity?: number;
        sunOverridingStyle?: boolean;
        terrainLightingEnabled?: boolean;
        terrainShadowCastingEnabled?: boolean;
        type: "light";
    }
    Index

    Properties

    ambientColor?: number

    Returns the ambient light color.

    ambientIntensity?: number

    Returns the ambient light intensity.

    dayCycleLightsEnabled?: boolean

    Returns whether the sun's COLOURS follow its position.

    dayCycleLightStops?: Json

    Returns the day-cycle light curve.

    dayCycleRisingLightStops?: Json

    Returns the curve used while the sun is RISING, if the app set one.

    shadowBias?: number

    Returns the shadow depth bias scale.

    shadowCascades?: number

    Returns the number of shadow cascades.

    shadowCasterMargin?: number

    Returns the shadow caster margin in tiles.

    shadowDistance?: number

    Returns the shadow distance.

    shadowMapSize?: number

    Returns the shadow map resolution.

    shadowNormalOffset?: number

    Returns the shadow normal offset.

    shadowSoftness?: number

    Returns the shadow softness.

    shadowStrength?: number

    Returns the shadow strength.

    sunAltitude?: number

    Returns the sun altitude in degrees above the horizon.

    sunAzimuth?: number

    Returns the sun azimuth in degrees.

    sunColor?: number

    Returns the sun (directional light) color.

    sunIntensity?: number

    Returns the sun light intensity.

    sunOverridingStyle?: boolean

    Returns whether this sun overrides the one a style states.

    terrainLightingEnabled?: boolean

    Returns whether the sun lights the 3D terrain surface.

    terrainShadowCastingEnabled?: boolean

    Returns whether the terrain itself casts shadows.

    type: "light"