MAXScript Language Reference > 3ds Max Objects > Node : MAXWrapper > Node Subclasses > Light : Node > Standard Lights >

# Skylight : Light

    Skylight - superclass: light; super-superclass:node - classID: #(2079724664, 1378764549)

Value > MAXWrapper > Node > Light > Skylight

| Lights and Cameras - Quick Navigation

The Skylight is a Natural light used to simulate outdoor illumination.

Constructor

    Skylight...
    TexSkyLight...
    Texture_Sky...

Properties

    <Skylight>.multiplier Float default: 1.0 -- animatable; float

The light multiplier controls the intensity of the skylight.

    <Skylight>.color Color default: (color 242.25 242.25 255) -- animatable

The sky color used by mode 1

    <Skylight>.on Boolean default: true -- boolean

Toggle the light on and off.

    <Skylight>.sky_color_map TextureMap default: undefined -- texmap

The map used to define the color of the sky

    <Skylight>.sky_color_map_on Boolean default: true -- animatable; boolean

Toggle the color map usage on/off.

    <Skylight>.sky_color_map_amt Float default: 100.0 -- animatable; float

Sets the opacity of the map. When it is 0, only the Sky Color is used. When it is 100, only the map is used.

    <Skylight>.sky_mode Integer default: 1 -- integer; Skylight_Mode

Controls the sky mode:

0 - Use Scene Environment

1 - Sky Color

    <Skylight>.enabled Boolean default: true -- alias for on

Toggle the light on and off.

    <Skylight>.rgb Color default: (color 255 255 255) -- animatable; alias for color

The sky color used by mode 1

    <Skylight>.rays_per_sample Integer default: 20 -- animatable; integer

Get/Set the number of rays per sample

    <Skylight>.ray_bias Float default: 0.005 -- animatable; float

Get/Set the rays bias value

    <Skylight>.castShadows BooleanClass default: false -- animatable; boolean; Cast_Shadows

Toggle shadow casting on/off.

## Skylight interfaces:

    Interface:NaturalLightClass

Methods:

    <boolean>isSun()

Returns true if the light is a Sun light. In the case of Skylight , it will return false .

    <boolean>isSky()

Returns true if the light is a Sky light. In the case of Skylight , it will return true .

#### See Also

- Node Common Properties, Operators, and Methods

- MAXWrapper Common Properties, Operators, and Methods

- Value Common Properties, Operators, and Methods