Texture_Sky : Light

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

 

Note:

In 3ds Max 5 and higher, this light is implemented by the Skylight class. The Texture_Sky class is implemented in Autodesk VIZ.

Constructor

Texture_Sky ...

Properties

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

Toggle the light on and off.

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

Toggle the light on and off.

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

The light multiplier controls the intensity of the skylight.

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

Controls the sky mode:

0 - Use Scene Environment

1 - Sky Color

<Texture_Sky>.color Color default: (color 242.25 242.25 255) -- animatable; RGB color

The sky color used by mode 1

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

The sky color used by mode 1

<Texture_Sky>.affectDiffuse Boolean default: true -- animatable; boolean; Affect_Diffuse

Corresponds to the Diffuse Illumination checkbox in the UI. When set to true, Light is reflected in all directions, with the most intense light emitting at a right angle to the skylight.

<Texture_Sky>.affectSpecular Boolean default: false -- animatable; boolean; Affect_Specular

Corresponds to the Specular Illumination checkbox in the UI. Light is reflected in one direction at an angle equal to the angle at which the rays arrive at the surface of the skylight.

<Texture_Sky>.castShadows Boolean default: true -- animatable; boolean; Cast_Shadows

Toggle shadow casting on / off.

<Texture_Sky>.exponent Float default: 30.0 -- animatable; float; Specular_Exponent

Controls the amount of sampling of specular surfaces. Higher value increase quality but reduce speed.

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

Toggle the color map usage on/off.

<Texture_Sky>.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.

<Texture_Sky>.sky_color_map UndefinedClass default: undefined -- texmap

The map used to define the color of the sky

<Texture_Sky>.rays_per_sample Integer default: 4 -- animatable; integer

The number of rays used to calculate the skylight falling on a point

<Texture_Sky>.ray_bias Float default: 0.01 -- animatable; float

The closest distance at which objects can cast shadows on a point.

<Texture_Sky>.rayengine Ray_Engine default: ReferenceTarget:Ray_Engine

The Ray engine used by the light.

Texture_Sky interfaces:

Interface: NaturalLightClass

Properties:

Methods:

<boolean>isSun()

<boolean>isSky()

Actions:

See also

Skylight

Node Common Properties, Operators, and Methods

MAXWrapper Common Properties, Operators, and Methods

Value Common Properties, Operators, and Methods