World(ID)

base classes — bpy_struct, ID

class bpy.types.World(ID)

World datablock describing the environment and ambient lighting of a scene

active_texture

Active texture slot being displayed

Type :Texture
active_texture_index

Index of active texture slot

Type :int in [0, 17], default 0
ambient_color
Type :float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
animation_data

Animation data for this datablock

Type :AnimData, (readonly)
color_range

The color range that will be mapped to 0-1

Type :float in [0.2, 5], default 0.0
exposure

Amount of exponential color correction for light

Type :float in [0, 1], default 0.0
horizon_color

Color at the horizon

Type :float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
light_settings

World lighting settings

Type :WorldLighting, (readonly, never None)
mist_settings

World mist settings

Type :WorldMistSettings, (readonly, never None)
star_settings

World stars settings

Type :WorldStarsSettings, (readonly, never None)
texture_slots

Texture slots defining the mapping and influence of textures

Type :Collection of WorldTextureSlot, (readonly)
use_sky_blend

Render background with natural progression from horizon to zenith

Type :boolean, default False
use_sky_paper

Flatten blend or texture coordinates

Type :boolean, default False
use_sky_real

Render background with a real horizon, relative to the camera angle

Type :boolean, default False
zenith_color

Color at the zenith

Type :float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

Inherited Properties

Inherited Functions

References

Previous topic

WoodTexture(Texture)

Next topic

WorldLighting(bpy_struct)